SQL Query Editor
The SQL Query Editor is a full-featured editor powered by CodeMirror, with syntax highlighting, code completion, and multi-tab support.
Features
- Syntax highlighting — color-coded SQL for better readability
- Code completion — auto-completes table names, columns, and SQL keywords
- Multi-tab support — work on multiple queries simultaneously
- Query history — access previously run queries
- Result grid — view query results in a table format
- Error display — clear error messages for invalid queries
Running queries
- Open the SQL Editor from the sidebar
- Type or paste your SQL query
- Press Ctrl+Enter (or Cmd+Enter on Mac) to run
- View results in the result panel below
Tabs
- Click + to open a new query tab
- Right-click a tab to close, rename, or duplicate it
- Tabs persist during your session
Query history
- Your query history is automatically saved
- Access it from the history panel
- Click any past query to re-run it
- History is stored in your browser's local storage