RU

SQL online

Run queries against an in-browser SQLite database.

query.sql
Results

Output appears after you run the code.

Ready to runCtrl / ⌘+Enter
Processing runs locally in your browser

About this tool

Run SQL queries in an in-browser SQLite database powered by WebAssembly. Create tables, inspect query results and test joins without a server connection.

How to use it

Enter one or more statements separated by semicolons. Press Run to inspect result tables. Reset database replaces the current database with an empty one.

Practical example

The starter query creates a languages table and sorts it by year. Replace the final SELECT with SELECT count(*) FROM languages to count the records.

Frequently asked questions

How long do tables persist?

Tables live in memory while the page and its worker are open. Resetting, stopping a query or refreshing clears the database. The query text is saved separately in your browser.

How many rows can I see in a result table?

Each table displays up to 250 rows, with an overall output limit for large batches. Use LIMIT and OFFSET with ORDER BY to inspect the next page.