Skip to content

AI commands

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:

  1. Activate the AI assistant.
  2. Open the SQL Editor.
  3. Type your request using the @ai command.

    Example

    @ai show all customers with invoices in the last month

  4. Execute the AI command. The results will appear in the Result panel.

Warning

The query isn’t shown before execution, so changes to the database (including deletes) may run without you seeing the command first. The query appears in the log viewer only after execution. If you want to preview queries, use chat. The AI command is for those who prefer not to see them.