AI Assistant
Seaquel’s AI assistant helps you write SQL by describing what you need in plain English. It understands your database schema and generates queries tailored to your actual tables and columns.
Opening the AI assistant
Section titled “Opening the AI assistant”- Click the AI button in the toolbar.
- Or open the command palette (
Cmd+K/Ctrl+K) and search for “Toggle AI”.
The assistant opens as a floating panel alongside your editor.
How to use it
Section titled “How to use it”- Open the AI assistant.
- Type a question or describe the query you need.
- The assistant generates SQL based on your prompt and schema.
- Review the SQL and insert it into your editor.
Example prompts
Section titled “Example prompts”- “Find all users created in the last 30 days”
- “How can I optimize this query?”
- “Where is user email stored?”
- “Show me how to join orders with users”
Features
Section titled “Features”- Schema-aware — the assistant knows your tables, columns, and relationships, so generated queries use correct names and types
- Conversation history — follow-up questions within a session build on previous context
- Quick suggestions — common prompt templates to get you started
Good for
Section titled “Good for”- Writing complex JOINs across multiple tables
- Query optimization suggestions
- Finding where specific data lives in your schema
- Learning SQL patterns with real examples from your database