Tip: For the best layout, collapse the left course sidebar while you work.
This page is hands-on practice after the SQL JOINs lesson. Use the schema as your map, work through the prompts in order, and run queries in the Code Editor panel (split view on wide screens) against the built-in movie database.
Dataset: Movie-style practice data bundled with this course’s SQL sandbox (sample rows and schema below).

Table names, keys, and how movies, reviewers, and ratings connect—use this before you write FROM / JOIN / ON.

Each row in movie_ratings becomes one output row (e.g. Wanted 2008 appears twice for Sarah Martinez’s two ratings).
One row per rating event (14 rows on the sample data).
On the sample data, Wanted averages 3.0 (ratings 2, 4, 3); Raiders of the Lost Ark averages about 3.33 (4, 2, 4). Movies with no ratings do not appear with an inner join.
Only Wanted and Twilight have 2008 release years and ratings in the sample (Cloverfield has no ratings).
Example counts on the sample: John White → 2 distinct movies (≥3 stars on Twilight and Raiders); James Cameron (reviewer) → 1 (Avatar). Reviewers with no rating at or above 3 stars are omitted here.
Tied spread 2: Avatar, Raiders of the Lost Ark, Wanted — ordered A, R, W by title.
Reviewer James Cameron (id 207) matches director James Cameron on Avatar; the sample yields one row (5 stars).