Write your own SQL

SQL Editor

Query real sample databases in read-only mode, or switch to Sandbox mode to practice INSERT, UPDATE, DELETE — even CREATE TABLE — on a private copy that lives in your browser. Type a write in read-only mode and the editor offers to switch you over.

Tip: on MySQL you can write SELECT * FROM products with no schema prefix. Browse tables →
Your query
Ctrl+Enter to run · up to 500 rows
Results
Run a query to see results here.
Syntax check
Plain-English explanation