PromptVault
VaultSQL query explainer
This prompt is in the trash. Its 1 version is intact — restore it to edit again.

SQL query explainer

History (1)
Explain what this SQL query does.

Give me:
- one sentence on the question it answers
- the join order and why it is that way
- any row that would be silently dropped by an inner join
- what I should index if this is slow

Then rewrite it as clearly as you can without changing its results.
SQL query explainer · PromptVault