attaching query ability to different instances of sql but only logged into one sql instance

I have sql 2012 installed on my laptop.  I have about 5 production instances of sql.
I want to be able to query and join all my instances from my laptop while only logged into the laptop instance.
I found some instructions on this but tried and failed.  Does anyone have a good outline on how to complete this.

if someone would fill in the command with some example hosts/instance/database names that would help

source one   laptop -  host = lap1    instance = lap1   db=weather
source two   production server 1     host = serv1   instance=serv1   db = weather
source three  production server 2  host = serv2    instance = serv2   db= weather

all the names have been changed for cleansing purposes, but should appropriately define the logic

side question 2
I connect my locally installed ssms to two instances of of sql.   once I start querying in one instance, I am unable to change the focus of the drop down box to any of the db's on the other server.  I am stuck in one.  This is even after I highlight the dern server.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The only way to be able to do that directly from Management Studio is to link the production servers .to3the instance on your laptop. In that case you will be able to query by server:

Let's assume that you linked the production servers to your laptop and you gave it the name PROD1, PROD2... Then you can query:

select * from PROD1.yourdatabase.dbo.table1
select * from PROD2.yourdatabase.dbo.table1

How to setup linked server:

Be careful, though, because doing this and running ad-hoc queries from you laptop especially if remotely connected through internet could have some serious performance implications that will affect your production servers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Side answer 2:
To change connection use the Change connection from the right-click menu:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.