Write SQL or Python. Turn the results into dashboards.
Query connected data, transform results and combine sources with AI assistance. Review the code, run your analysis and pin the result as a table, chart or KPI.
Free plan. No credit card required.
SELECT plan, sum(amount) FILTER (WHERE paid_at >= '2026-09-01') / 100.0 AS sep, sum(amount) FILTER (WHERE paid_at < '2026-09-01') / 100.0 AS aug FROM invoices WHERE status = 'paid' AND paid_at >= '2026-08-01' AND paid_at < '2026-10-01' GROUP BY plan ORDER BY sep DESC;
| # | plan | sep | aug |
|---|---|---|---|
| 1 | Growth | 48,210.00 | 46,775.00 |
| 2 | Scale | 21,400.00 | 20,950.00 |
| 3 | Starter | 12,904.50 | 12,311.00 |
sepaug
sep$82,514.50+3.1% on aug
Interactive example with sample data
From the first line to the dashboard
One query, followed from the editor to the people who read it.
Write it with your schema in view
Tables and columns are suggested from the source you picked, as you type, in that source’s own query language. Press ⌘↵ to run, and the query is saved as it runs.
- Autocomplete from your schema
- “Fix this error with Assistant” when a run fails
SELECT plan, sum(amount) FILTER (WHERE paid_at >= '2026-09-01') / 100.0 AS sep, sum(amount) FILTER (WHERE paid_at < '2026-09-01') / 100.0 AS aug FROM invoices WHERE ststatustextstripe_customer_idtextstarted_attimestamptz
Example with sample data
Go further with Python
Reshape query results, calculate custom metrics or combine data from several sources. Write Python in the same editor, with Python-aware completion and help from the Assistant.
- Query one source or several from the same code
- Return rows, and view them as a table, chart or KPI
async def snippet(conn): revenue = await conn.run("prod-postgres", """ SELECT plan, sum(amount) / 100.0 AS sep FROM invoices WHERE status = 'paid' AND paid_at >= '2026-09-01' AND paid_at < '2026-10-01' GROUP BY plan""") active = await conn.run("crm", [ {"$match": {"status": "active"}}, {"$group": {"_id": "$plan", "n": {"$sum": 1}}}, ], database="crm", table="customers") customers = {row["_id"]: row["n"] for row in active} return [{**r, "customers": customers[r["plan"]], "per_customer": round(r["sep"] / customers[r["plan"]], 2)} for r in revenue]
| # | plan | sep | customers | per_customer |
|---|---|---|---|---|
| 1 | Growth | 48,210.00 | 214 | 225.28 |
| 2 | Scale | 21,400.00 | 38 | 563.16 |
| 3 | Starter | 12,904.50 | 465 | 27.75 |
per_customer
sep per active customer$115.08across 717 customers
Interactive example with sample data
Review every AI edit before it applies
When the Assistant changes your code, the edit arrives as a diff. Accept or reject each change, or all of them at once, so you always know what the code does.
Interactive example with sample data
On the dashboard your team already opens
Share the result with teammates who don’t write code. Pin it to a dashboard as a table, a chart or a single KPI, and the widget re-runs its query every time the dashboard loads. Or add the query to a datasite.
Lands in
| # | plan | sep | aug |
|---|---|---|---|
| 1 | Growth | 48,210.00 | 46,775.00 |
| 2 | Scale | 21,400.00 | 20,950.00 |
| 3 | Starter | 12,904.50 | 12,311.00 |
sepaug
sep$82,514.50+3.1% on aug
Interactive example with sample data
Rows the rest of Supaboard can build on
Choose “Save as booklet” to save a result as a sheet: a snapshot you can keep working on, and a table AI Analyst, agents, automations and datasites can use.
Goes on to
| # | plan | sep | aug |
|---|---|---|---|
| 1 | Growth | 48,210.00 | 46,775.00 |
| 2 | Scale | 21,400.00 | 20,950.00 |
| 3 | Starter | 12,904.50 | 12,311.00 |
Example with sample data
Where your query goes
Put your analysis to work beyond the editor.
- DashboardsPin a result as a table, chart or KPI. The widget re-runs its query every time the dashboard loads.
- DatasitesUse a query or a sheet as the data behind a datasite, and share it with a public link.
- SheetsChoose “Save as booklet” to keep working on the rows as a sheet. Saved results are snapshots.
Query Bench, in detail
| feature | detail |
|---|---|
| Run | ⌘↵ runs the query and saves it |
| Save | ⌘S saves and formats |
| Languages | SQL in each source’s own dialect, or Python with one or more sources. Combining sources requires Python. Python in Query Bench is included on every plan, Free included. Plans and features |
| Python | One async function that fetches with conn.run and returns a list of rows, in a sandbox without outside libraries or direct database drivers |
| Results | Table, Chart or KPI, 50 rows a page |
| Export | Table as CSV, chart as PNG |
| History | The last 50 versions, tagged run, save, load or AI edit, while the tab is open |
| Read-only | On Postgres, MySQL and SQL Server, statements that change data are refused before they run |
| Editor | Optional Vim keybindings |
9 rows
Frequently asked questions
Which databases can I query?
Any database or warehouse you’ve connected: Postgres, MySQL, SQL Server, Oracle, Snowflake, BigQuery, Redshift, Databricks, ClickHouse, DuckDB and MongoDB. Each query runs in that source’s own query language.
Will the Assistant change my query without asking?
No. Its edits arrive as a diff in the editor, and nothing is applied until you accept it, chunk by chunk or all at once.
Can a query change my data?
Query Bench is for reading. On Postgres, MySQL and SQL Server, statements that create, change or delete data are refused before they run.
Can one query read from two sources?
Yes, in Python. Use Python with one or more sources; combining sources requires it. Python in Query Bench is included on every plan, Free included.
Is Query Bench a Python notebook?
No. Python runs in a sandbox as one function that fetches rows with conn.run and returns a list of rows. Outside libraries such as pandas and direct database drivers aren’t available.
Write the query your team will read
Start FreeBook a 30-minute demo
Free plan. No credit card required.