Hello Mitch,
Setting the a query tab linked to a particular database would be infeasible because there can be query tabs that can contain queries related to various databases. It is also a possible test-case where a single SELECT statement can use various databases to fetch the data.
Linking a tab to a particular tab is not possible as a tab can contain queries that would use several databases in other scenarios.
You can use the “USE” statement to specify the database, therefore letting you to just execute the statements without having to explicitly specify the database for every statements.
Regards,
Sibin