SQL Playground
Run SQL in an in-browser SQLite database with sample tables. Open and download .sqlite files.
SQL Playground FAQ
Can I run SQL online without installing anything?
Yes. This page runs SQLite, a full SQL database, inside your browser. Pick a sample database, type a query and press Run.
Which SQL commands can I use?
Everything SQLite supports: CREATE TABLE, INSERT, UPDATE, DELETE, SELECT with JOIN, GROUP BY and window functions, views, triggers and WITH queries. MySQL-only or SQL Server-only syntax may not work.
What does NULL mean in the results?
NULL means there is no value, which is different from 0 or empty text. Use IS NULL or IS NOT NULL to test for it; = NULL never matches.
How do I open my own database file?
Click Open .sqlite / .sql and choose an SQLite file (.sqlite, .sqlite3 or .db) or a .sql script. A script is run into a new empty database.
Is my data uploaded to a server?
No. The database and your queries stay in your browser. The page only downloads the SQLite engine from this site; nothing you type or open is sent anywhere.