Write SQL, press Run and see the rows your queries find. An SQLite database runs right in your browser, with nothing to set up and no account.
query.sql
-- Write your SQL here and click Run.
CREATE TABLE books (
id INTEGER PRIMARY KEY,
title TEXT NOT NULL,
year INTEGER
);
INSERT INTO books (title, year) VALUES
('Dune', 1965),
('Neuromancer', 1984),
('The Hobbit', 1937);
SELECT title, year FROM books WHERE year > 1950 ORDER BY year;
Output
Click Run to see what your SQL finds.
Your code runs in your own browser, not on a server: Python, Clang, Lua and SQLite are compiled to WebAssembly and load the first time you run something. That's why there's no account, no queue and no limit on how often you press Run.
What you write is saved in this browser, so it's still here when you come back. Reset brings back the example.
Share copies a link with your code inside it. Nothing is uploaded: whoever opens the link gets the code in their own editor, and it runs only when they press Run.
Ctrl+Enter (⌘+Enter on a Mac) runs the code from the keyboard.
A program may run for 10 seconds and print up to 100,000 characters. After that it's stopped, so a loop that never ends can't freeze the page.