0

SQL Query Explainer for Non-Engineers

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 expo

Prompt · برومبت

Works with

claude-code (compatible), claude (compatible), codex (compatible), chatgpt (compatible), gemini-cli (compatible), cursor (compatible), copilot (compatible), opencode (compatible), amp (compatible), roo (compatible), kiro (compatible), goose (compatible), junie (compatible), trae (compatible), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible), aider (compatible)

Content

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.

Source and license

Source
Prompts Chat
Original
f/awesome-chatgpt-prompts/prompts.csv#sql-query-explainer-for-non-engineers
License
MIT