Question: 3. (Weight: 5%) Write SQL statements that show the average rating ofeach cafe/restaurant place, sort them by their ID 4. (Weight: 5%) Write SQL statements

 3. (Weight: 5%) Write SQL statements that show the average rating

3. (Weight: 5%) Write SQL statements that show the average rating ofeach cafe/restaurant place, sort them by their ID

4. (Weight: 5%) Write SQL statements that show the highest and lowest ratingcafe/dining place.

5. (Weight: 5%) Write SQL statements that show all the cafe/dining places that areopen on a specific time (Your choice depends on the data youve populated).

6. (Weight: 5%) Write SQL statements that show the total number of reviews acafe/dining place has.

Completed ER Diagram Picture PicturelD BusinessID FK Picture PK Business UserID UserName BusinessHasTag BusinessID PK FK PK BusinessID BusinessName BusinessDetail BusinessTell TaglD PK FK Review Tag ReviewID UserlD ModeratorlD FK BusinessID FK ReviewText ReviewRating ReviewStatus PK usinessURL PK TagText UserHasRole UseriD PK FK RolelD PK FK tatelD FK State HasParking StatelD StateCode StateName Schedule SchedulelD PK BusinessID FK Rol RolelD RoleTitle PK FromHour

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!