hose Demo data with a pulse

Free datasets for teaching

Course datasets with the answer key included.

Each dataset comes with claims a student can check in SQL, on a business with three years of history. One file, no server.

SQL course datasets with answer keys

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.

A business with the operational tables

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.

Get the course data

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

Exercises with answers

Every claim is a question with its query and the band the answer falls in. The answer key is the query.

A business with events

A price increase in year three, a channel that grew from nothing. Ask the class to find them.

One file, no server

SQLite on a laptop. The jaffle shop continues the dbt tutorial, and Northwind and Chinook are still trading.

A dataset per student on request

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