Overview
The Query Engine is your central hub for interacting with databases. Write SQL queries, explore schemas, and visualize results all in one place.Features
SQL Editor
A powerful code editor with:- Syntax highlighting for SQL
- Auto-completion for tables, columns, and functions
- Schema explorer to browse your database structure
- Query history to revisit previous queries
Query Execution
- Execute queries against any connected database
- View results in a responsive data grid
- Export results to CSV or JSON
- Pin frequently used queries
Schema Explorer
Browse your database schema:- View all tables and columns
- See column types and constraints
- Preview sample data from tables
- Search across your schema
Using the Query Engine
Writing Queries
- Select your database from the dropdown
- Write your SQL in the editor
- Press
Cmd/Ctrl + Enterto execute - View results in the grid below
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Cmd/Ctrl + Enter | Execute query |
Cmd/Ctrl + S | Save query |
Cmd/Ctrl + / | Toggle comment |
Cmd/Ctrl + D | Select next occurrence |
AI Assistance
The Query Engine integrates with the AI Engine to help you:- Get suggestions for query optimization
- Explain complex queries
- Generate queries from natural language
Try the AI Engine
Let AI write your SQL queries for you.