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

What is highest rating for the most recent movie and when was it released?
SELECT MAX(T1.stars), T2.year FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid WHERE T2.year = (SELECT MAX(year) FROM movie)
SELECT MAX("T1"."stars"), "T2"."year" FROM "rating" AS "T1" JOIN "movie" AS "T2" ON "T1"."mid" = "T2"."mid" AND "T2"."year" = (SELECT MAX("year") FROM "movie")