CS50_Labs/Lab7/movies/6.sql

3 lines
94 B
SQL

select avg(rating) from ratings
join movies on movies.id = ratings.movie_id
where year = 2012;