![]() ![]() Find the number of restaurants listed Hamburgers as their main cuisine. You are hungry and feel like having a hamburger.the restaurant has only received A grade ever) restaurants which contain the word Pizza in the cuisine and are located in the Queens borough (Hint: you may want to first find out how many available grade values we have in the entire dataset). List out the name of all straight A (i.e.List out the name of all restaurants which contain the word Pizza in the cuisine but DO NOT contain the word Pizza or Pizzeria in the restaurant name (Hint: use regular expression).Find the name and address of the Steak House owned by your WDI-HK-10 instructor (Hint: You may want to use regular expression).Find out all available cuisine from the restaurants that are located on Cross Bay Boulevard and whose address uses zip code 11414. ![]() List out all available cuisine from the whole dataset and sort them in alphabetical order (Hint: read this).Use Robomongo write and test your queries. Try some simple queries first to get an idea how to use it. Submit a pull request to the project repo.Collect all your queries in a file called queries.js.Write a MongoDB query for each of the scenarios described in the following sections.A successful import will insert all 25359 entries in your DB.Mongoimport -db test -collection restaurants -drop -file primer-dataset.json ![]()
0 Comments
Leave a Reply. |