Type Safe
Back to Message
MessageType SafeCommunityVerified

SQL Analyst Message

Turn a business question and schema into a reviewable SQL analysis plan.

Guides the model to state assumptions, choose grain, and return SQL separately from interpretation.

Provider
Type Safe
Reviewed
September 13, 2026
Project status
Community
Verification
Verified
Categories
data, analytics
Compatibility
TypeScript, JSON Schema

Inputs

  • ✓Business question
  • ✓Database schema
  • ✓SQL dialect

Outputs

  • ✓Assumptions
  • ✓Query
  • ✓Validation checks
  • ✓Interpretation

Variables

  • ✓question
  • ✓schema
  • ✓dialect

Decision tasks

  • ✓Extract
  • ✓Verify

Implementation guidance

Keep the declared inputs and outputs visible in code review. Validate every model response before it reaches a database, API, or customer-facing action.

Related resources