text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE Rating (mID VARCHAR, stars INTEGER)
  ### Question:
  Find the average rating star for each movie that received at least 2 ratings.
  ### Answer:
  SELECT mID, AVG(stars) FROM Rating GROUP BY mID HAVING COUNT(*) >= 2