Repository navigation
Description
Problem
When running multiple SQL statements in the same query editor, switching between their result sets is less convenient than it could be. The results are available through the small “Result 2 of 2” dropdown in the bottom status bar, but the other result names are hidden until I open it.
For example, running:
SELECT 1 AS first_result;
SELECT 2 AS second_result;produces two result sets. To switch back and forth, I need to open the result dropdown and then select a result each time. This adds an extra interaction on every switch and makes it harder to see at a glance which results are available, especially when repeatedly checking several query outputs.
This request is about switching result sets within one query editor tab, not the top-level tabs for tables or query editors, and not the Data / JSON / Chart view-mode selector.
Proposed solution
Please provide visible result-set tabs above or below the results grid when there are multiple results, so each result can be selected with one click.
- Show a meaningful result name when available, falling back to “Result 1”, “Result 2”, etc.
- Clearly indicate the selected result.
- Retain the existing pin, close, close-other-results, and comparison actions through a context menu or equivalent controls.
- Keep the dropdown as an overflow option when there are too many results to fit. Alternatively, offer a preference to choose tabs or the compact dropdown.
- Avoid adding a tab strip for the common single-result case if preserving vertical space is a concern.
Alternatives considered
The current dropdown works, but it hides the available results and requires opening a menu for each switch. Visible tabs would make frequent switching faster and more discoverable without requiring separate query editor tabs or rerunning queries.
Related work
I searched the repository's issues, discussions, and pull requests before filing this request and did not find an existing request specifically for restoring visible result-set tabs.
PR #2892 deliberately replaced the result tab strip with the status-bar chooser, citing native-control limitations, vertical space, and handling an unbounded number of results. This request is usability feedback on that change: tabs for a small number of results, with dropdown overflow or an optional compact mode, could address those concerns while preserving one-click switching.
Platform
macOS
Related database type
PostgreSQL (the result-switching improvement would also be useful across database types).
Activity
faytranevozter commentedon Oct 29, 2026
Proposed result-tab layout
A concept mockup showing visible result-set tabs for one-click switching, with the active result highlighted and an “All results” dropdown for overflow. Data / JSON / Chart remain separate view controls.
This is an illustrative proposal, not a screenshot of an implemented feature.
datlechin commentedon Oct 30, 2026
Thank you for this purpose, will working on it soon