CREATE TABLE Rating (mID VARCHAR, stars INT)

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
SELECT "mID", AVG("stars") FROM "Rating" GROUP BY "mID" HAVING COUNT(*) >= 2