Question: 1) Create a view 'VIEW BEST_RATED_DOCTOR' that shows the average rating and total count of ratings for each Doctor. a. Display attributes as Doctor

1) Create a view 'VIEW BEST_RATED_DOCTOR' that shows the average rating and total count of ratings for each Doctor. a. Display attributes as "Doctor ID" "Doctor Name" - with space between first name and last name "Number of ratings" for each doctor "Average Rating" for each doctor-rounded to 2 decimal places b. Only consider ratings from start of 2020 c. Sort results by average rating in descending order.
Step by Step Solution
3.35 Rating (164 Votes )
There are 3 Steps involved in it
Assuming we have a database with the following schema DOCTOR DoctorID DoctorName RATING DoctorID Rat... View full answer
Get step-by-step solutions from verified subject matter experts
