Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Create a MongoDB database called Seneca 2) Create a single document in a collection called student with the following information. Note: the date format

1) Create a MongoDB database called "Seneca" 



2) Create a single document in a collection called "student" with the following information. Note: the date format is month/day/year:

 

student F name = John student L name = Smith DOB = 02/05/2001

 



3) Create multiple documents with a single command to add the following information. Use an embedded document for the marks:

student F name = John student L name = Simpson DOB = 03/24/2001 marks DBS311 = 75 SQL710 = 81 DBS211 = 87

student F name = Jane student L name = Doe DOB = 05/16/2001 marks DBS311 = 85 SQL710 = 79 DBS211 = 81

student F name = Larry student L name = Smith DOB = 07/26/2000 marks DBS311 = 82 SQL710 = 84 DBS211 = 77

 

student F name = put your first name here student L name = put your last name here DOB = put your DOB marks      DBS311 = put what mark you expect to get here      SQL710 = 79      DBS211 = put what your mark was here

 



4) Create a statement that will update the first student you entered into the collection (John Smith) with the following marks:

DBS311 = 89 SQL710 = 82 DBS211 = 91



5) Create a statement that will list all students with a mark greater than or equal to 80 in DBS211. Display the following information only:

student F name student l name and the mark for DBS211.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

please try to give correct answer 4 7 3 . .

Answered: 1 week ago

Question

What factors influence voice identification accuracy?

Answered: 1 week ago