Question: Time Limit: 2 , Memory Limit: 2 5 6 0 0 0 You have a database with movies and ratings tables. You want to find
Time Limit: Memory Limit:
You have a database with "movies" and "ratings" tables. You want to find movies that have an average rating of at least and have received at least ratings.
'movies' Table: movieid INT PRIMARY KEY moviename VARCHAR
'ratings' Table: ratingid INT PRIMARY KEY, movieid INT, rating DECIMAL FOREIGN KEY movieid REFERENCES movies movieid
Write an SQL query to retrieve the names of movies that meet the rating criteria. Return moviename in ASC.
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
