AI SQL Generator, Explainer & Repair Tool

Describe a data question, understand an existing query, or propose a repair. Review AI output before running it.

20 free AI requests/month · No signup9 SQL dialects
Describe your query
Dialect:
Example OutputPostgreSQL
SELECT customer_id,
       SUM(order_value) AS total_revenue
FROM orders
WHERE created_at >= NOW() - INTERVAL '90 days'
GROUP BY customer_id
ORDER BY total_revenue DESC
LIMIT 10;

↑ Describe your query above — AI will generate SQL like this with a line-by-line explanation