Question: Using MongoDB: a. Write a query that returns the cuisine type of the restaurant named The Dead Rabbit b. Write a query to create an

Using MongoDB:

a. Write a query that returns the cuisine type of the restaurant named The Dead Rabbit

b. Write a query to create an index on the name attribute of the restaurants.

c. Write a query that uses the index created in part b to return all the restaurants containing the term Rabbit in their name.

d. Write an aggregate query to show total count of restaurants in each borough.

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!