Pick a playground to practise in. Each one runs in your browser with real data to work on, and saves your query tabs to your account.
New here? Create an account with the code from your book, or one you buy.
PostgreSQL 18 · in your browser
Practise on a real PostgreSQL database instead of a simulator. Write any query, from your first SELECT to window functions, CTEs and JSON, and see real results in seconds. Made for the readers of the SQL book, and for schools and colleges that teach SQL.
ecommerce_db holds an online shop: 750 orders over 60 products, with customers, payments and cashback. JSON columns too.
My database is PostgreSQL running in your browser: create tables, views, indexes, roles and functions, with no row or table limits. Nobody else can see it. Export it to a .sql file to keep it, because clearing this site's data in your browser deletes it.
Up to five query tabs with SQL highlighting, saved to your account, so they follow you to any computer.
Browse every table and column, and drop names into your query with a click.
Your last ten runs are kept, so you can go back to a query that worked.
See the first 100 rows on screen and download up to 10,000 as CSV.
Your time starts the day you create your account with a code, not the day you buy it. Pricing
They keep the playground quick for everyone sharing it.