AI helpers
How to use AI Text to SQL: an example and checklist
Use AI Text to SQL when you need a quick way to work through this task. Describe a query in plain English, get SQL. This guide walks through a small example and the checks to make before you use the result.
Describe what you want to find, and optionally your table structure, to get a draft SQL query.
How to use the tool
- Open AI Text to SQL and start with a small example that contains no sensitive data. This makes it easier to see what changes.
- Follow the tool's own instructions: Describe what you want to find, and optionally your table structure, to get a draft SQL query.
- Inspect the result against your original input. Make any corrections, then copy or download it for your project.
Try a small example
Example input or settings
Table orders(id, status, total); request all completed orders with total above 100.
What to check
Check that the draft filters status and total correctly and references only supplied columns.
What are the limitations of AI Text to SQL?
Specify the database dialect and test a read-only query on sample data; never execute unreviewed generated SQL.
When this is useful
For a real task, replace the sample with your own input and check the output in its final context. Keep a copy of the original if the change is hard to reverse.
Before you rely on the result
AI output can vary and may contain mistakes. Check facts, code and names yourself; do not paste private or sensitive data into an AI request.