CREATE TABLE Rating (rID INT, mID INT, stars INT, ratingDate DATE)
CREATE TABLE Reviewer (rID INT, name TEXT)
CREATE TABLE Movie (mID INT, title TEXT, year INT, director TEXT)

What is the average rating star for each reviewer.
SELECT name, AVG(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T2.name
SELECT "name", AVG("T1"."stars") FROM "Rating" AS "T1" JOIN "Reviewer" AS "T2" ON "T1"."rID" = "T2"."rID" GROUP BY "T2"."name"