Docs
Docs/Work with data/SQL editor

Write, format and run SQL in the QuackDB editor

Write and run queries, read the results beneath the editor, format SQL and save the statements you use again.

The SQL editor keeps your query and its results on one screen, so a question can lead straight to the next without switching windows.

QuackDB SQL editor showing a query and results
Write a query and read the results beneath it.

Run a query

  1. 01Choose SQL in the toolbar to open the SQL Editor tab.
  2. 02Write a statement.
  3. 03Choose Run or press ⌘ ↩. If you select part of the text, only the selection runs.
  4. 04Read the results in the grid beneath the editor, with the row count and run time.

Toolbar

ControlPurpose
RunRuns the statement at the cursor, or the selection (⌘ ↩).
LimitCaps how many rows a query returns (100 by default), which keeps large tables quick to explore.
AutoTurns automatic application of the limit on or off.
FormatTidies the SQL in the editor so it stays readable.
ClearEmpties the editor.
HistoryReopens queries you have run before.
SaveKeeps a statement worth reusing.
ImportBrings a query in from a file.

Work with results

Use the filter box above the results grid to narrow the rows you see, and the export button to save them. See Import and export.

Tip

Editor behavior such as font size, tab size, word wrap, line numbers and auto complete is configurable in Settings.

Need help?

Join our Discord community for support and discussions.

Join Discord