Write & reuse SQL
Choose what to run and review what happened.
Run reviewed relational SQL directly or use Custom Execution for scope, parameters, policy and per-statement outcomes.
A 2026 Build 1010 local_mysql / test capture shows scope and policy review; a companion report shows three succeeded SELECT statements. Run submission, report-row navigation, other policies and engines, and release verification remain pending.
How it works
Ordinary Execute Query uses the current selection or document. Custom Execution reviews the target and exact scope before a supported relational run.
A quick walkthrough
- Check the editor target and selected SQL before ordinary execution; use Execute Statement at Cursor only when a safe statement boundary is found.
- Open Custom Execution... to review target, scope, preview, values and policies; inspect its latest source-linked outcomes after Run.

Default shortcuts
These defaults depend on the active SQL Editor mode and focus. Ordinary execution, Custom Execution, cursor-statement execution and Terminal Mode have distinct scopes.
| Action | Windows / Linux | macOS | Focus and effect |
|---|---|---|---|
| Execute the selection or document | Ctrl+Enter | ⌘+Enter | In normal relational SQL mode, use the editor target and execute selected text, or the document when nothing is selected; no Custom Execution dialog opens. |
| Execute the statement at the cursor | Ctrl+Alt+Shift+Enter | ⌘+⌥+Shift+Enter | Only in normal relational mode; split and run the statement at the caret when a safe boundary is found. |
| Open custom execution options | Ctrl+Alt+Enter | ⌘+⌥+Enter | Open the reviewed Custom Execution dialog for supported relational targets; confirm Target, Run scope and SQL preview before Run. |
| Alternative normal-execution bindings | Ctrl+Shift+Return / Ctrl+Shift+Enter | ⌘+Shift+Return / ⌘+Shift+Enter | Same ordinary selection/document action; Return and Enter matching depends on keyboard and platform. |
| Open query execution history | Ctrl+Shift+H | ⌘+Shift+H | Open application query execution history, which is separate from the latest custom statement-outcomes report and saved SQL history. |
| Toggle Terminal Mode | Ctrl+Alt+Shift+T | ⌘+⌥+Shift+T | Switch SQL Editor layout to Terminal Mode where supported. Redis keyspaces require their native command path. |
| Submit a terminal command | Enter | Enter | Submit only the current Terminal Mode prompt command; it is separate from normal editor document execution. |
| Cancel terminal input / request interruption | Ctrl+C | Control+C | In Terminal Mode, physical Control+C on macOS cancels current input or requests worker interruption; it does not guarantee rollback. |
| View latest statement outcomes | No dedicated default | No dedicated default | After a custom or cursor-statement run, use View Last SQL Execution Report in the editor menu or the result-toolbar outcomes button. |
| Request custom-query cancellation | Cancel Query button | Cancel Query button | Use the progress dialog during a custom relational run; a driver may complete the active statement after the request. |
- Settings → Shortcuts shows configurable bindings; customized keys take precedence. Fixed dialog keys and mouse gestures may be managed by their own controls.
- On macOS, ⌘ means Command and ⌥ means Option. Function keys may require Fn. Delete means forward delete (often Fn+⌫ on a compact Mac keyboard); use the menu when Insert is unavailable.
Objects in this workflow
What to know
- Ordinary execution does not create the structured custom statement-outcomes report; application Query Execution History is separate.
- Cancel and timeout are requests, and script rollback depends on the target and statements. Redis uses native Terminal Mode; MongoDB follows its query-service path.