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

What are the names and years of the movies that has the top 3 highest rating star?
SELECT T2.title, T2.year FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid ORDER BY T1.stars DESC LIMIT 3
SELECT "T2"."title", "T2"."year" FROM "rating" AS "T1" JOIN "movie" AS "T2" ON "T1"."mid" = "T2"."mid" ORDER BY "T1"."stars" DESC NULLS LAST LIMIT 3