QueryDeck Docs
Browse and edit data

Table Mode

Browse, filter, and navigate your tables without writing SQL.

For: everyone. Especially useful for analysts and people new to SQL.

Table Mode opens a table the way a spreadsheet does. You see the rows, you can sort, filter, scroll, and jump between related tables by clicking foreign keys. No SQL needed.

Open a table

Three ways:

  1. Double-click a table name in the sidebar tree.
  2. Cmd+K → start typing the table name → press Enter.
  3. Right-click → Open Table.

Each opened table is a tab at the top of the window. You can have many open at once, switch with Cmd+1 through Cmd+9.

The six tabs of a table

When a table is open you get six tabs, each showing a different angle of the same object:

TabWhat it shows
DataRows, filters, sort, FK navigation, inline editing
StructureColumns: name, type, default, nullable, primary key
IndexesIndex name, type (btree, hash, gin, gist), columns, unique flag
Foreign KeysFK name, source column, referenced table.column, ON DELETE and ON UPDATE rules
TriggersTrigger name, event, timing (BEFORE/AFTER), function called
DDLThe full CREATE TABLE statement, copyable

The default tab is Data. You can change the default in SettingsEditor.

Filter the rows

The toolbar above the data grid has a filter field per column. Click Add Filter to expose them.

OperatorExample
=status = 'active'
!=country != 'FR'
<, <=, >, >=created_at >= '2026-01-01'
LIKE, ILIKEemail ILIKE '%@gmail.com'
INstatus IN ('active', 'trial')
BETWEENamount BETWEEN 10 AND 100
IS NULL, IS NOT NULLdeleted_at IS NULL

Filters combine with AND. To do an OR filter, write a query in the editor instead.

Cmd+L jumps the cursor straight to the filter field — handy when you're already scrolling.

Sort

Click any column header to sort ascending. Click again for descending, again to remove the sort. Multi-column sort: hold Shift while clicking subsequent headers.

The sort is sent to the database as ORDER BY, so it scales to large tables.

Foreign key navigation

If a column has a foreign key, the cell value becomes a clickable link in the grid. Click it to open the referenced row in a new tab.

Example: clicking a user_id value in the orders table opens the matching row in users. The reverse direction works too — open a users row, then use the FK panel on the right to jump to its orders.

This only works for foreign keys declared at the database level. If your schema has FKs at the application level (some ORMs and frameworks do this), QueryDeck won't see them. Run the application's migrations with actual REFERENCES clauses if you want this in QueryDeck. Or trace the FK manually in queries.

Pagination and large tables

By default, Table Mode loads the first 1,000 rows. Scroll down and the grid loads the next page automatically. To change the default page size, SettingsEditorTable Mode page size.

For very large tables (10M+ rows), Table Mode is fine if you filter first. Without a filter, scrolling to the end means scanning the whole table — slow on the server. Add a WHERE filter or open the table from a query result instead.

Column types in the grid

TypeRendered as
Text, varcharPlain text
Integer, bigint, numericRight-aligned number
BooleanCheckbox
Date, timestampLocalized format with timezone hint
JSON, JSONBExpandable inline viewer
UUIDMonospace text
Array[a, b, c] inline, expandable
bytea / BLOB<binary> placeholder, click to preview hex
NULLGray "NULL" badge
EnumDropdown when editing, plain text when reading

Refresh

Cmd+R re-runs the query that populated the grid. Use it after a teammate or a migration changed the data underneath you.

What's next