Run Code
ctrl+enter
Login to Reset
Format Code
alt+enter
Edit the SQL script above or write your own schema and queries, then press Run. Boot.dev executes the script with SQLite and displays the final result set below the editor.
Use it to practice table creation, inserts, joins, filters, grouping, and other SQLite queries without setting up a database.
main.sql. Build durable SQL skills with hands-on lessons covering relational data, joins, aggregation, subqueries, and database design.
Yes. You can edit and run SQL without installing a database or creating an account. An account is only needed to create a share link.
It uses SQLite. Core SQL concepts transfer to other relational databases, but database-specific functions and syntax can differ.
No. Each run starts with a fresh environment and executes the full main.sql script. Put table creation and sample data before the query you want to test.
Yes. The editor executes the complete script in order, so you can create tables, insert rows, and then run a SELECT statement in one pass.