# SQL Query Explainer for Non-Engineers

| Field | Value |
| --- | --- |
| Content type | [Writing](https://dopamine-prompt.com/en/type/writing) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [julia\_b](https://dopamine-prompt.com/en/u/dca4eaac-8666-4db5-bcd8-26850221931c) |
| Last updated | 2026-11-26 |

## Prompt

```
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.
```

## Words you can change

The words in brackets in the prompt can be replaced with your own.

- `{sql}`: Type your own.

Web page: <https://dopamine-prompt.com/en/prompts/sql-query-explainer-for-non-engineers>
