Exercises with answers
Every claim is a question with its query and the band the answer falls in. The answer key is the query.
Free datasets for teaching
Each dataset comes with claims a student can check in SQL, on a business with three years of history. One file, no server.
Northwind’s last order is from 1998 and Chinook’s from 2013, the answers are on the first page of a search, and a table that never changes has nothing to say about time. Building a scenario by hand takes a weekend and yields one exercise.
Each dataset is a business with operational tables and no rollups. Revenue is summed from order lines, retention is built from cohorts, the funnel is sessionized from pageviews. The claims are the exercises, with the query as the answer key and a band instead of one number, because a different seed gives a different number inside the same band.
Download the SQLite file and hand it out, or the CSV bundle for a Postgres or dbt course. The claim pages are ready-made exercises with worked answers. For a seed per student, leave an email above.
What you get
Every claim is a question with its query and the band the answer falls in. The answer key is the query.
A price increase in year three, a channel that grew from nothing. Ask the class to find them.
SQLite on a laptop. The jaffle shop continues the dbt tutorial, and Northwind and Chinook are still trading.
A different seed is a different business with the same distributions, so one rubric grades every seed. Tell us the class size.
The datasets
Other use cases