SQL generation brief — adapt to an approved schema Database engine and version: [your engine/version] Allowed tables/views: [schema-qualified names] Relationships: [join keys and one-to-many relationships] Question: [the business decision and measure] Output grain: [one row per customer, order, month, etc.] Filters: [status, date range, time zone and currency] Missing data: [NULL and zero-row behavior] Output: [columns, ordering, tie-break and row limit] Before generating SQL: ask about missing business definitions. Explain the joins and assumptions; do not invent missing columns. Do not include credentials. This worksheet does not configure permissions or automatically import into AskYourDatabase.