Interactive Tool

SQL Playground

Write and run real SQL against a small sample database, right in your browser. Practice the joins, aggregation, CTEs, and window functions from Chapter 24. Powered by SQLite compiled to WebAssembly (sql.js) — nothing leaves your machine.

First run downloads the SQLite engine (~1 MB) and seeds three tables: customers, orders, products. Requires an internet connection to load the engine.
Ready — press Run to start.
Result
Results appear here.