Get startedGet started for free

Average movie ratings

For each movie the average rating, the number of ratings and the number of views has to be reported. Generate a table with meaningful column names.

This exercise is part of the course

Data-Driven Decision Making in SQL

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

SELECT movie_id, 
       ___    -- Calculate average rating per movie
FROM renting
___;
Edit and Run Code