Schema-aware text-to-SQL
Run one query in your console, paste the result, and QueryPilot learns your tables and columns.
From then on every answer uses your real names, joins on your real keys, and adds a LIMIT to exploratory selects.
Paste broken SQL instead of a question and it fixes it and tells you what was wrong.
Accepts JSON, CSV, psql output or CREATE TABLE DDL.
Users who signed up but never ordered
SELECT u.id, u.email, u.created_at FROM users u WHERE NOT EXISTS ( SELECT 1 FROM orders o WHERE o.user_id = u.id ) ORDER BY u.created_at DESC LIMIT 100;