Question: Table_Name : Column(s) Restaurants : RestaurantName, Location, Type Dishes: RestaurantName, DishName Sales: RestaurantName, DishName, SaleDate, SaleTime, Quantity, SalesPrice Given the schema above write the SQL
Table_Name : Column(s)
Restaurants : RestaurantName, Location, Type
Dishes: RestaurantName, DishName
Sales: RestaurantName, DishName, SaleDate, SaleTime, Quantity, SalesPrice
Given the schema above write the SQL to answer the following questions.
1. What are all of the Dishes that Chik-Fil-A sells?
2. How much did Subway sell from January 1st of this year to now?
3. How many restaurants are there?
4. How many dishes does each restaurant sell?
5. What restaurants sold a dish at 9 am?
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
