SQL examples
Self-contained SQL examples that create their own sample data and run against SQLite in your browser. Learn table creation, filtering, joins, aggregation, CTEs, and window functions interactively.
Create a SQLite table, insert rows, and query the resulting data in one runnable script.
Run in SQL playground