SQL copilot console

Ask in words and a copilot writes SQL against the schema, states the scan before it runs, repairs the query from its error, and lights the clause, result column and schema field together.

Data and insightNo. 2352 variationsFree with an account

Playing on its own
Variation
The idea
A query console around text to SQL: schema awareness, a scan guard, explain on hover and self repair from the error
Autoplay
Cursor types weekly refund rate by channel, last 8 weeks; SQL streams in and the guard reads Scans 1.2 GB, about 3 s; Run fails with Column refund_at not found; the copilot proposes refunded_at as an inline diff; Accept, run again, rows and a small line chart appear; hovering GROUP BY lights the clause, the week and channel columns and their schema fields.
When you click
Ask (Enter) or pick a suggestion; edit the SQL by hand (Edit, Esc to finish); Run with Ctrl or Cmd Enter, Cancel while it runs; accept or reject a fix (Tab, Esc); arrow through lines to explain each clause; Results and Chart tabs; expand tables in the schema tree. Phone: the schema is a drawer and results stack under the editor.
Look
flat, hairlines, 10 px boxes, line stream, crossfade, line draw, mono editor, sans chrome type
Variations
Midnight, Solar paper
Files
index.html, style.css, script.js and prompt.md. No framework, no CDN, works offline.

The prompt and the files

Paste the prompt into Claude, ChatGPT, Lovable or any coding agent to rebuild it in your own product, or take the three files as they are.

Loading the files

More data and insight

See all