SQL Query Editor

The SQL Query Editor is a full-featured editor powered by CodeMirror, with syntax highlighting, code completion, query history, and EXPLAIN support.

Features

  • Syntax highlighting — color-coded SQL for better readability
  • Code completion — auto-completes table names, columns, and SQL keywords
  • Query history — access previously run queries
  • Query plan (EXPLAIN) — visualize how PostgreSQL executes your queries
  • Result grid — view query results in a table format
  • Error display — clear error messages for invalid queries

Running queries

  1. Open the SQL Editor from the sidebar
  2. Type or paste your SQL query
  3. Press Ctrl+Enter (or Cmd+Enter on Mac) to run
  4. View results in the result panel below
  5. Toggle Explain to see the query plan instead of the results

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