How to create a sql query that pulls data from multiple tables

Running SQL Server 2012. Need assistance creating a query that pulls data from multiple tables. I have the key/column I want to use to retrieve data from each of the tables juts need assistance with creating the syntax for the query I can use to do so.
dowhatyoudo22Asked:
Who is Participating?

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

x
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.

Dan CraciunIT ConsultantCommented:
JOIN or UNION

HTH,
Dan

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
Vikas GargAssociate Principal EngineerCommented:
Hello,

if you want join the information from two table column wise then

Select * from table1
inner join table2
on table1.keycolumn = table2.keycolumn

if you want to join the information rowwise then


Select * from table1
Union

Select * from table2
Ankit PareekOnline MarketingCommented:
If you want to retrieve data from multiple tables then you can use inner join method of Sql.This type of join method is used to contain information from a combination of two or more tables.With the help of inner join condition you can determine which records are paired together and it is specified in the WHERE clause.For reference you can visit:

databases.about.com/od/careers/l/aajoins1.htm
dbaSQLCommented:
It would be helpful if you could provide the definition of the three tables, along with details of what you want your query to return.
Vitor MontalvãoMSSQL Senior EngineerCommented:
dowhatyoudo22, do you still need help with this question?
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.