SQL Assistant
Generate SQL queries from natural language questions using artificial intelligence.
How it works
The SQL Assistant uses AI to convert your questions into valid SQL queries. Simply describe what you need in natural language (e.g., "Show me the 10 customers with the most orders last month") and the AI will generate the corresponding SQL query, considering your database structure.
Using the assistant
- Open the Query Library and create a new query.
- Select the database connection you want to query.
- Click the AI icon next to the SQL editor.
- Type your question in natural language.
- The AI will generate the SQL query. Review and adjust it if needed.
- Run the query to see the results.
Security
The SQL assistant only generates read queries (SELECT). It cannot modify, insert, or delete data. Additionally, queries are subject to configurable row limits and execution rate limits set by the administrator.
Next step
Learn to organize your queries with the Query Library.