Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started