MongoDB Class Assignment
MongoDB Class Assignment
Note:
To import json file please refer steps to import multiple document.doc file.
8. 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.
10. Write a MongoDB query to find the restaurant Id, name and
grades for those restaurants where the 2nd element of grades array
contains a grade of "A" and score 9 on an ISODate "2019-01-
01T00:00:00.000Z".
11. Write a MongoDB query to find the restaurant Id, name, address
and geographical location for those restaurants where 2nd element of
coord array contains a value which is more than 42 and upto 52.
15. Write a MongoDB query to find the restaurant Id, name, borough
and cuisine for those restaurants which are not belonging to the
borough Staten Island or Queens or Bronxor Brooklyn.