How to use these data-analyst prompts
Every prompt below works far better when you paste your **schema** — the `CREATE TABLE` statements or a column list with types — alongside your question. The model cannot guess your join keys or column names; give it the structure and it will write SQL that actually runs.
Be explicit about your SQL dialect (Postgres, BigQuery, Snowflake, MySQL) because functions and syntax differ. Replace every [bracketed] placeholder, and treat the first output as a draft: run generated SQL against a small sample or with a `LIMIT` before trusting aggregates.
**Do not paste real customer rows, PII, or confidential records into a chatbot.** Share schema and synthetic examples, not production data. This is both a privacy rule and a quality one — the model needs structure, not your real values.