main.sql
Loading editor…

Press Run to see each query’s result as a table.

Ready · press RunLn 1, Col 1SQLite · in your browser

SQLite

SQLite online compiler

Run SQLite queries online against a fresh database and read each result as a table. Practise SQL free, with no install or sign-up.

About this SQLite compiler

SQLite is the embedded database in countless apps. Run SQL statements here to practise queries without installing a client.

Questions and answers

Does my database persist?
No. Each run starts fresh. Create tables in the same script you query.
Why is there no interactive terminal?
SQLite here runs as a script file. Put every statement in the editor and use Run — there is no separate prompt session.