Turn a question into a SQL query

A correct query plus an explanation of the joins and assumptions.

Works with ChatGPT, Claude, Gemini

Use it when: Querying a database you half remember.

Fill in the blanks

Your prompt

Make it yours

Improve your own version, or save it with your usual details filled in.

More coding prompts