Dory Docs
Core Features

AI Chat

AI Chat works best when Dory has live access to schema and query context. That allows answers to stay grounded in the database you are actually using.

Common use cases

  • Generate a first draft of a query.
  • Explain an existing query.
  • Translate business questions into SQL.
  • Debug syntax or logic issues.
  • Refactor a long query into smaller steps.

Best practice

Be specific about the table, goal, and output shape you want. The more concrete the prompt, the better the generated SQL tends to be.

On this page