For each movie that received more than 3 reviews, what is the average rating?
select mid, avg(stars) from rating group by mid having count(*) >= 2