Practice databases
Ten businesses to query
Every question runs on one of these. They are made up but built to behave like real data: NULLs where real systems leave them, ties, late rows, refunds, duplicates from reloads and history that changes. Each has a larger and a smaller version.
Marketing team
Paid campaigns for a meal-kit app: daily spend and clicks per campaign, the sign-ups each campaign brought in, and what those users bought. January to June 2025.
campaignsad_dailysignupspurchases
Mobile shopping app
Product analytics for a shopping app: users, the events they fire, and two A/B tests. Sign-ups January to April 2025, events to the end of June 2025.
userseventsexperiment_assignments
Digital bank
Customers, their accounts and every transaction, January to June 2025.
customersaccountstransactions
People team
A 120-person company: departments, the reporting line, salary changes and yearly review ratings.
departmentsemployeessalary_changesreviews
Music streaming service
Listeners, artists, tracks and every play, March to June 2025.
listenersartiststracksplays
Ride-hailing marketplace
Riders, drivers and every trip request in four cities, April to June 2025, including cancellations and requests no driver took.
citiesdriversriderstrips
B2B software company
A team-chat product sold per seat to companies. Accounts, plan subscriptions and monthly invoices, 2024 to mid-2025.
accountsplanssubscriptionsinvoices
Online store
A mid-size home goods store selling on its website, app and a marketplace. Orders from January 2024 to June 2025.
customersproductsordersorder_itemsreturns
Customer support desk
Tickets for a software company: who handled them, how fast, and what customers said afterwards. February to June 2025.
agentsticketssatisfaction
Analytics warehouse
Tables an analytics engineer works with: a raw order load with repeats and late updates, a type 2 customer history, daily exchange rates and stock snapshots. 2025.
stg_ordersdim_customers_historyfx_ratesinventory_snapshots