Running Queries in SaturnSQL
The query editor is where you'll spend most of your time. Here's how to write and execute SQL queries effectively.
Writing queries
Select a database connection from the dropdown, then start typing your SQL. The editor provides syntax highlighting and autocomplete suggestions based on your database schema. Press Ctrl/Cmd + Space to trigger autocomplete manually.
Executing queries
Click the Run button or press Ctrl/Cmd + Enter to execute your query. Results appear in the panel below the editor. You can resize this panel by dragging the divider between the editor and results.
Working with results
Results display in a scrollable table. Click column headers to sort. You can copy individual cells, rows, or the entire result set. Export options let you download results as CSV for further analysis.
Keyboard shortcuts
- Ctrl/Cmd + Enter – Run query
- Ctrl/Cmd + S – Save query
- Ctrl/Cmd + Space – Trigger autocomplete