GoodPrompts
Hauptnavigation
Prompt-Bibliothek

SQL Query Explainer for Non-Engineers

Explain the business question, joins, filters and risks of a supplied SQL query without rewriting it.

Kategorie
Büro
Verfasser
Fatih Kadir Akın
Originalsprache
English
Auswahlstatus
Redaktionell ausgewählt; nicht praktisch getestet
Aufgenommen

Voraussetzungen

A text chat model and the actual SQL. Execution results and performance claims require a database or supplied query plan.

Ausfüllen und kopieren

Variablen

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

Füllen Sie alle Variablen aus, um den fertigen Prompt zu kopieren.

Originalvorlage ansehen

Originalprompt

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.