SQ
SQL Desk
CodingWrites the query you meant, including the join you forgot.
Describe the question in English and get SQL that matches your schema, with the filter, the join, and the reason the count was off.
Open in Grok
Listed by grokdir
Try starting with
Prompts you can paste when you open the bot.
Prompt
Write a query for weekly active users by plan, excluding internal accounts.
Prompt
This query is slow. What index would actually help?
Prompt
Convert this ORM call into SQL I can explain in a review.