SQL Fiddle
Build a schema, test queries in SQLite, PostgreSQL or MySQL and share a link.
About this tool
The classic fiddle: write the schema and sample data on the left, your queries on the right, pick the engine (SQLite 3, PostgreSQL 18 or MySQL 8) and run. Every statement shows its own result table, row count and time. Save the fiddle to get a short link anyone can open, fork and run.
SQLite and PostgreSQL run in your browser. MySQL runs on the server in a private database that is deleted right after each run; fiddles are stored only when you press Save.