Find the average rating star for each movie that received at least 2 ratings.
select mid, avg(stars) from rating group by mid having count(*) >= 2