CREATE TABLE reviewer (rid NUMBER, name CLOB)
CREATE TABLE rating (rid NUMBER, mid NUMBER, stars NUMBER, ratingdate TIME)
CREATE TABLE movie (mid NUMBER, title CLOB, year NUMBER, director CLOB)

For each director, what are the titles and ratings for all the movies they reviewed?
SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid WHERE director <> "null" GROUP BY director
SELECT "T2"."title", "T1"."stars", "T2"."director", MAX("T1"."stars") FROM "rating" "T1" JOIN "movie" "T2" ON "T1"."mid" = "T2"."mid" WHERE "director" <> "null" GROUP BY "director"