GoodPrompts
Navigazione principale
Libreria di prompt

SQL Query Explainer for Non-Engineers

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

Categoria
Ufficio
Autore
Fatih Kadir Akın
Lingua originale
English
Stato della selezione
Selezione editoriale; esecuzione non verificata
Aggiunto

Requisiti

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

Compila e copia

Variabili

Prompt finale

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.

Compila tutte le variabili per copiare il prompt completo.

Mostra il modello originale

Prompt originale

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.