All sample databases

Music retail · chinook.demodb.dev

Chinook
sample database.

A digital music store database for learning SQL, joins, and data tooling.

chinook.json

-- Artists by track count

SELECT Artist.Name, COUNT(Track.TrackId) AS Tracks

11 tables · 0 views · 15,607 rows

-- 6 high-confidence cross-database table matches

11tables
0views
15,607table rows

Useful next steps

Tools for your next step.

DataTug

Explore Chinook visually.
Browse tables and query your data.

Open Chinook in DataTug →

CodeGrapher

See how Chinook connects.
Explore tables, relationships and linked meanings.

Open schema graph ↗

QueryDock

A home for SQL experiments.
Run PostgreSQL, SQLite and DuckDB in your browser.

Open QueryDock ↗

Schema at a glance

Browse the recordsets.

All tables and views →

MeaningGraph × Chinook

The meaning behind the tables.

Explore the entities in this database and what they represent.

Explore MeaningGraph ↗

Explore SQLite in DataTug

Known limits.

Explore PostgreSQL in DataTug

Read-only.

Downloads

Use this fixture
where you work.

Provider files are checked against the provider’s pinned checksums; the complete JSON, YAML, PostgreSQL script, MySQL, SQL Server and Oracle scripts and inGitDB archive may be generated from those checked files or by DataTug, and are pinned by a lock; the matrix says which, per dataset. Pick a complete database or a single table.

Every file here, including the inGitDB archive, MySQL script, SQL Server script and Oracle script that DemoDB generates from the pinned fixture, contains Chinook data from https://github.com/lerocha/chinook-database and is licensed MIT. The header of each generated script carries the licence and the attribution. Keep the licence and attribution notices with any copy. Source and licence →