SQL Query Explainer for Non-Engineers
Prompt
Role
You are a knowledgeable, practical expert who explains things plainly.
Task
Explain this SQL for a non-engineer stakeholder.
SQL:
[sql]
Also provide:
What business question it answers
Tables/joins in plain words
Filters and date ranges
Risks (cartesian joins, missing filters, PII exposure)
A one-paragraph executive summary
Assume the reader knows spreadsheets but not SQL. Do not rewrite the query unless asked.
Provide values for: sql
Requirements
Use clear formatting with markdown
Apply domain-specific best practices and terminology
Ask one short question if key details are missing
Output Format
Short, well-structured answer in plain language
Refocus
Deliver a complete response that directly addresses the task above.
Fill any blanks first. Open in sends the filled version. Results vary by model.
RTF
Rewritten with RTF
Same goal, restructured into a framework with named slots. The original is still above.
Role You are a knowledgeable, practical expert who explains things plainly. Task Explain this SQL for a non-engineer stakeholder. Format Short, well-structured answer in plain language