S
QL
T
errain
Draft
Visualizer
· Atlas
Converter
· Passage
Data
· Survey
Builder
· Draft
Template
New
Schema
No context
Draft dialect
PostgreSQL
PostgreSQL
MySQL
SQLite
BigQuery
Snowflake
Send to
Draft
Draft
Build a query step by step. See the SQL as you go.
Start with your data
Table
Any table name. Draft does not connect to a database, so nothing is looked up.
Start building
Try an example
Explore a table
Uses SELECT and LIMIT
Filter orders
Uses WHERE, ORDER BY and LIMIT
Revenue by customer
Uses SUM, COUNT and GROUP BY
Combine customers and orders
Uses LEFT JOIN
Stage the work in steps
Uses WITH (a CTE) — advanced
Rank rows by group
Uses a window function — advanced
SQL
Copy SQL
Edit SQL
Matches your steps
SELECT *;
Your SQL appears here as you build.