Online Store Test Dataset

Customers, products, orders, payments, shipments and returns that add up: a realistic, fully synthetic e-commerce database for dev, demos and SQL practice.

← All Digital Shop products

$19 one-time, plus applicable tax

Buy now: $19

Test dataset · digital download (17 MB ZIP)

Please note. This is a digital download: after you pay on Stripe you are taken to a private download page, with no account needed. Links last 72 hours and the page can be re-opened for 30 days.

Sold by Quietcog. Terms · Refunds (14 days) · Privacy

Online Store Test Dataset preview

About this test dataset

A complete fictional online store across 33 months: nine related tables with consistent keys, seasonal order volume, repeat buyers, multi-item baskets, free-shipping thresholds, cancellations, partial returns and refunds. Totals reconcile exactly, so it works for testing reports and dashboards, not just filling tables. Comes in a small set (fast to load) and a full set (for realistic query plans).

Free sample: the complete customers table from the small set (CSV) + SCHEMA.md. Download (26 KB) · All free samples

Free table samples

Download the first rows of a few tables to check the format: customers.csv — first 25 rows · orders.csv — first 25 rows · order_items.csv — first 25 rows

A look at the data

First rows of a few tables from the small set.

customers (1,000 rows in the small set, 25,000 in the full set)

customer_idfirst_namelast_nameemailphonecreated_atmarketing_opt_inis_test_data
1ClaraSuttonclara.sutton657@example.com2024-07-08 19:08:51FalseTrue
2GretaDawsongreta.dawson517@example.com+1-312-555-01072024-08-15 11:24:04TrueTrue
3AmaraPatelamara.patel91@example.com+1-201-555-01472024-04-22 11:05:28FalseTrue
4LiamAlderliam.alder751@example.com+1-303-555-01992025-07-01 16:29:14TrueTrue
5PavelSilvapavel.silva671@example.com2024-07-18 12:23:48FalseTrue
6AdaKnoxada.knox833@example.com2024-06-22 07:13:51FalseTrue
7MayaShahmaya.shah911@example.com+1-212-555-01162025-09-23 09:06:48FalseTrue
8RaviFosterravi.foster753@example.com+1-206-555-01242024-08-16 14:35:11FalseTrue

orders (1,907 rows in the small set, 48,924 in the full set)

order_idorder_numbercustomer_idshipping_address_idstatusplaced_atsubtotalshipping_fee
1ORD-10000111delivered2026-08-05 15:48:1950.96.95
2ORD-10000222delivered2026-06-07 21:10:12197.980.0
3ORD-10000334delivered2026-01-07 09:20:1390.920.0
4ORD-10000445delivered2026-04-01 13:50:31136.980.0
5ORD-10000556delivered2025-03-11 10:45:2413.958.95
6ORD-10000656delivered2026-04-30 07:45:43245.960.0
7ORD-10000789delivered2025-01-16 21:45:1113.994.95
8ORD-1000081012delivered2025-10-09 22:38:58158.00.0

order_items (3,669 rows in the small set, 96,944 in the full set)

order_item_idorder_idproduct_idquantityunit_pricediscountline_total
11108138.950.038.95
2164111.950.011.95
3270298.990.0197.98
43143323.990.071.97
5353118.950.018.95
64143123.990.023.99
7456199.00.099.0
84116113.990.013.99

In the download

$19 one-time, plus applicable tax

Buy now: $19

Free guide: Realistic Test Data for an Online Store: What "Realistic" Actually Means

Questions

Is any of this real customer data?

No. Every person, address and company is generated. Names are random first/last combinations, towns and streets are made up, emails use the reserved example.com domain and phones use the fictional 555-01xx range.

Which databases does the SQL work with?

The schema and inserts use portable SQL types (INTEGER, TEXT, NUMERIC, BOOLEAN, DATE, TIMESTAMP). They load as-is into SQLite and PostgreSQL. For anything else, use the CSV files with your database's import tool.

What does "adds up" mean?

Order subtotals equal the sum of their line items; totals equal subtotal + shipping + tax; refunds match returned items; deliveries come after shipping; no customer orders before signing up. The consistency checks are listed in SCHEMA.md.

Can I use it in a course or a product demo?

Yes, including commercial courses, demos and seed data inside your app. You just can't resell the dataset itself as a dataset.

Is this a subscription?

No. One payment of $19 and the files are yours to keep.

What if it does not work for me?

Ask within 14 days of purchase for a full refund. See the refund policy.

Sold by Quietcog. Support: gb1@mail.grokbot.com. See also the terms, refund policy and privacy policy.