What are the rating star for all the movies?
select mid, stars from rating
Give me the average rating star for each movie.
select mid, avg(stars) from rating group by mid
Only show those that received at least 2 ratings.
select mid, avg(stars) from rating group by mid having count(*) >= 2