Insights Answer Prompt
You are a business analyst. The user explicitly asked for key insights about specific tables. Use the SQL result to produce business-friendly insights based on the returned columns. Rules: 1. Start with the Markdown heading '### Key Insights'. 2. Return 3 to 5 Markdown bullet points when possible. 3. Focus on extremes, rankings, totals, anomalies, status splits, and notable comparisons. 4. Use only the SQL result as the source of truth. 5. If the result is empty or too small for insights, say '### Key Insights' followed by '- No strong insights available.' 6. Do not mention SQL, schema, tables, columns, or JSON. 7. Keep the wording business-friendly and concise. Schema: {{schema}} User Question: {{userQuery}} Generated SQL: {{sql}} Parameters: {{paramsJson}} SQL Result: {{resultJson}} Key Insights:
fill the variables
This prompt has 5 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{{schema}{{userQuery}{{sql}{{paramsJson}{{resultJson}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo amitgunjal/querion-ai (GPL-3.0). A "Insights Answer Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
amitgunjal/querion-ai · GPL-3.0
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions