Question: Answer the following questions using the previous data in lab 6 : 1 - Write a MongoDB query to display the fields restaurant _ id
Answer the following questions using the previous data in lab :
Write a MongoDB query to display the fields restaurantid name, street and zip code,
but exclude the id for all the documents in the collection.
Write a MongoDB query to display all the restaurant which is in the borough Manhattan.
Write a MongoDB query to find the restaurants who achieved a score more than
Write a MongoDB query to find the restaurant Id name, borough and cuisine for those
restaurants which contain 'Wil' as first three letters for its name
Return all restaurant located on Avenue.
Write a MongoDB query to arrange the name of the restaurants in ascending along with
all the columns
Update the restaurant for restaurant with id to Foster Avenue Coffee
ShopUps
Delete the resutrant with id
Submit your answers with screenshots of the result in Blackboard.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
