Question: Create following table in MongoDB using appropriate command (4 Marks):- 1. Shoes ModelNo Brand M2101 M202 M303 Nike Adidas Puma Color Red, Black Blue

Create following table in MongoDB using appropriate command (4 Marks):- 1. Shoes 

Create following table in MongoDB using appropriate command (4 Marks):- 1. Shoes ModelNo Brand M2101 M202 M303 Nike Adidas Puma Color Red, Black Blue Red, Black, Neon Orange 100 80 75 Price Height 10cm 8cm 8cm Size Width 1.5cm 2cm 2cm M404 Adidas 25 10cm 3cm 2. Update Brand name from Adidas to Puma in MongoDB for the very first matching record. (2) 3. Insert one more brand info of your choice. (2) 4. Print all shoes which are available in blue color and Width 2cm. (2) 5. Print all shoes which are available either in Blue or Neon Color using $in expression. (2) [please note: Query will be graded zero if Sin is not used for criteria matching.) 6. Print only those brands of shoes which are in price range from 20(inclusive) to 80(inclusive). (2) 7. Delete all records for Adidas brand from this collection. (2) 8. Update Height for Nike Shoes to 12cm. (2) 9. Drop Shoes collection. (2 Marks) Once finished take screenshot of all commands and output and upload for marks. [Please Note - Without Output screenshot Marks would be reduced to half]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!