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

Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars.
SELECT T3.name, T2.title, T1.stars, T1.ratingdate FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid JOIN reviewer AS T3 ON T1.rid = T3.rid ORDER BY T3.name, T2.title, T1.stars
SELECT "T3"."name", "T2"."title", "T1"."stars", "T1"."ratingdate" FROM "rating" AS "T1" JOIN "movie" AS "T2" ON "T1"."mid" = "T2"."mid" JOIN "reviewer" AS "T3" ON "T1"."rid" = "T3"."rid" ORDER BY "T3"."name" NULLS FIRST, "T2"."title" NULLS FIRST, "T1"."stars" NULLS FIRST