Skip to main content

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

  1. Select your database from the dropdown
  2. Write your SQL in the editor
  3. Press Cmd/Ctrl + Enter to execute
  4. View results in the grid below

Keyboard Shortcuts

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.