cs50/6.sql

4 lines
77 B
MySQL
Raw Normal View History

SELECT AVG(rating)
FROM ratings
JOIN movies ON ratings.movie_id = movies.id;