SQL Editor
The SQL Editor lets you run any DuckDB-compatible query against your project tables and immediately view the results as a
table, chart, or map layer.
Key capabilities:
- Full DuckDB SQL syntax, including CTEs, window functions, and joins
- Spatial functions via the DuckDB
spatialextension (ST_Distance,ST_Within,ST_Buffer, etc.) - H3 indexing functions (
h3_latlng_to_cell,h3_cell_to_boundary, etc.) - Query history and saved queries
- Autocomplete for tables, columns, and functions
- Cancel long-running queries at any time
Typical steps:
- Open the SQL Editor panel.
- Write your query.
- Press Run (or
Cmd/Ctrl + Enter). - Inspect the result table below the editor.
- Save the result as a new table, export it, or turn it into a map layer.
Updated about 5 hours ago
Did this page help you?
