I know what data I need, I just do not want to hand-write every join. This closes the gap.

The workflow
- Describe your tables and the question
- Ask ChatGPT for the SQL plus a one line explanation
- Run it on a read replica first
- Save the good ones as snippets
Result: Correct SQL for most day-to-day questions, with the reasoning shown.
The prompt
Here is my schema: [PASTE]. Write a SQL query that answers: [QUESTION]. Explain the joins in one line and flag any assumption.