Database GUI shortcuts & tips
Database# Supported databases
PostgreSQL MySQL MariaDB
SQLite SQL Server Oracle
MongoDB Redis Cassandra
CockroachDB DuckDB Snowflake
# New connection
βN New connection
Fill: Host, Port, User, Password, DB
# Connection methods
Direct, SSH Tunnel, TLS/SSL
Connection string / URL
# Example URL
postgresql://user:pass@localhost:5432/db
mysql://user:pass@localhost:3306/dbβN New connection
βT New tab
βW Close tab
ββ§T Reopen closed tab
βK Open quick switch
βP Command palette
βE Open SQL editor
βR Refresh data
βS Save changes (commit)
βZ Discard changes
βF Filter/search
βG Group by
ββ§S Save as SQL file
β1-9 Switch tabs
β§β[ / β§β] Previous/next tabβE Open SQL editor
βEnter Run query
ββ§Enter Run selected query
β; Run current statement
β. Stop query
β/ Toggle comment
ββ§L Lowercase
ββ§U Uppercase
ββ₯F Format SQL
# Multi-cursor
β₯ click Add cursor
βD Select next occurrence
# Autocomplete
Table names, columns, functions
Triggered automatically or Tab# Edit cell
Double-click Edit cell
Enter Confirm edit
Esc Cancel edit
ββ© Edit multi-line
# Row operations
ββ₯N Insert new row
ββ« Delete row
βC Copy cell/row
ββ§C Copy as INSERT
# Changes are staged (yellow)
βS Commit changes
βZ Discard all changes
# NULL values
βN / Ctrl+N Set to NULL
# Sort
Click column header to sort# Export data
Right-click table β Export
Formats: CSV, JSON, SQL, XML
# Export query result
Run query β Export button
# Import
File β Import β From CSV/SQL
Drag & drop CSV file
# Database dump
Right-click DB β Dump
mysqldump / pg_dump format
# Copy as
ββ§C Copy as INSERT
Also: JSON, CSV, TSV, Markdown