?
Solved

SQL query needed

Posted on 2011-09-08
1
Medium Priority
?
176 Views
Last Modified: 2012-06-27
Hi Experts,

My Db has two tables joined on ID.

tblMasterName
   ID
   MasterName

tblAlternateName
   ID
   AltNameA
   AltNameB
   AltNameC

I would like to select * from tblMasterName so that a row contains MasterName, AltNameA, AltNameB, AltNameC.
0
Comment
Question by:DColin
1 Comment
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 36504916



select tblMasterName.MasterName,  tblAlternateName.AltNameA, tblAlternateName.AltNameB, tblAlternateName.AltNameC
From   tblMasterName inner join tblAlternateName On tblMasterName.ID=tblAlternateName.ID
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
With the functions here, you can parse, convert, and format back and forth between feet and inches and fractions and decimal inches - for normal as well as extreme values and with extreme precision.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question