Realistic Schemas6 Relational Sandboxes

Practice on Realistic Databases

Each schema comes pre-populated with realistic records, foreign key relationships, runnable DDL scripts, and interactive in-browser playgrounds.

How to use these schemas

Open any schema → Run queries instantly in our in-browser SQL playground, or copy the pre-built DDL for MySQL / PostgreSQL.

E-commerce

Beginner → Advanced
6 Tables

Customers, products, orders, payments and order items.

5 Key Relations
customersproductsordersorder_items+2 more
|
Explore & Playground

Company HR

Beginner → Advanced
5 Tables

Employees, departments, salaries, managers and locations.

5 Key Relations
departmentsemployeesofficesemployee_office+1 more
|
Explore & Playground

Movie Database

Intermediate
7 Tables

Movies, actors, genres, ratings and user reviews.

5 Key Relations
moviesactorsmovie_castgenres+3 more
|
Explore & Playground

Banking

Intermediate → Advanced
6 Tables

Customers, accounts, transactions, branches and loans.

5 Key Relations
customersaccountsbranchesaccount_branch+2 more
|
Explore & Playground

Food Delivery

Intermediate
7 Tables

Restaurants, users, orders, riders and delivery events.

6 Key Relations
usersrestaurantsrestaurant_itemsorders+3 more
|
Explore & Playground

Social Media

Advanced
6 Tables

Users, posts, comments, likes, follows and engagement.

5 Key Relations
userspostscommentslikes+2 more
|
Explore & Playground