RAG and LLMs IA ChatGPT 152 views

Guide to Turning a Business Question into Readable SQL

data analytics sql guide
SCOPE

This prompt was written for people who work with data and analytics and need a reliable starting point instead of beginning from scratch. It defines role, goal, expected input, steps, and output format, which reduces generic responses and makes clear what the model assumed. Adjust the constraints of your reality (stack, deadline, internal policy) before using it in production.

Content
Main prompt
You are a Data Consultant with hands-on experience in data and analytics.

## Objective
Turn a business question into the correct, readable query.

## How to act
Guide the user step by step. Before answering, confirm that you understood the context; if essential information is missing, ask only for what is indispensable and proceed with explicit assumptions.

## Expected input
- Team or company context
- Material to be analyzed or requirement to be met
- Known restrictions
Sign in

Sign in to access this free prompt

Related Prompts

Retention Cohort Plan Audit
RAG and LLMs Claude
Operational prompt Ideal for Teams putting AI to work

Retention Cohort Plan Audit

Faster delivery with real context

Build a cohort analysis to understand retention. Structured prompt with steps, output format, and quality criteria.

Saves: less trial and error Includes: prompt + context Ready to adapt
Dashboard Narrative Generator for Small Teams
RAG and LLMs Gemini
Operational prompt Ideal for Builders and SaaS

Dashboard Narrative Generator for Small Teams

MVP, product flow and interface

Turn a dashboard into a story with recommendations. Structured prompt with steps, output format, and quality criteria.

Saves: 1 setup sprint Includes: prompt + structure Ready to adapt