PostgreSQL playground
Run real PostgreSQL queries in your browser against a ready-made shop database, and share a query by link. No sign-up, no server.
Everything here runs in your browser. Nothing you type is sent to D's Labs or anyone else.
PostgreSQL in your browser · Kestrel shop data
About 5 MB, downloaded once. It runs on your computer, not ours.
This database lives in this tab and is gone when you close it. Want a full machine with internet and saved files? Start a lab.
What is in the database
Kestrel is the made-up grocery company every D's Labs operations lab is set in: four stores, 60 products, 200 customers and 500 orders, with money kept as whole paise. Tables: stores, products, stock, customers, orders and order_items. It is real PostgreSQL compiled to WebAssembly — EXPLAIN, transactions, constraints and window functions all work — running in your tab.
Practise it on a real machineDatabases & SQL Engineering course
Practise it