AI command
The AI command lets you run natural language requests directly in the SQL Editor. Just type @ai
with your question,
and Team Edition will generate and execute the SQL for you.
Using AI command¶
To use the AI command:
- Activate the AI assistant.
- Open the SQL Editor.
-
Type your request using the
@ai
command.Example
@ai show all customers with invoices in the last month
-
Execute the AI command. The results will appear in the Result panel.
Warning
Depending on your AI query execution settings, the query may run without being shown first. In this case, changes to the database (including deletes) can execute before you see the command. The query appears in the Server output only after execution. If you want to preview queries, use chat. The AI command is for those who prefer not to see them.