All sample databases

Sales, purchasing, manufacturing, and inventory · adventureworks.demodb.dev

AdventureWorks OLTP
sample database.

Microsoft AdventureWorks OLTP sample database with people, products, sales, purchasing, manufacturing, and inventory.

adventureworks.sqlite

-- Orders by customer

SELECT h."SalesOrderNumber", c."CustomerID", h."OrderDate", h."TotalDue"

71 tables · 11 views · 759,240 rows

-- 3 high-confidence cross-database table matches

71tables
11views
759,240table rows

Useful next steps

Tools for your next step.

DataTug

Explore AdventureWorks OLTP visually.
Browse tables and query your data.

Open AdventureWorks OLTP in DataTug →

CodeGrapher

See how AdventureWorks OLTP 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 × AdventureWorks OLTP

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 PostgreSQL script, JSON, YAML, inGitDB archive, MySQL script, SQL Server script and Oracle script that DemoDB generates from the pinned fixture, contains AdventureWorks OLTP data from https://github.com/microsoft/sql-server-samples 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 →