AI Query Writer

The SQL Console on CloudQuery Platform comes with a built-in AI assistant that can help you write SQL queries. This can save significant time over hand-writing queries from scratch, or discovering tables and schemas through other means.
How to use it
Click the button, and type a sentence or two in natural language. Submit the request and the AI model will think for a few seconds, after which the SQL will appear in the console.
FAQ
How do I access this feature?
This feature is available to all CloudQuery Platform users. Click the AI assistant button at the top of the SQL Console.
Does the AI model have access to my data?
No. The model is able to access table names and their schemas available in your warehouse, and has the ability to test queries for syntax errors, but it does not have the ability to retrieve data from the warehouse. Also see our MCP Server for an AI feature that can also retrieve and reason about your data.
Next Steps
- SQL Console - Save and manage your AI-generated queries
- Query Examples - Browse curated security, compliance, and cost queries
- CloudQuery MCP Server - Use the CloudQuery MCP server with AI assistants