Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Populating a table from two other tables

Avatar of brgdotnet
brgdotnetFlag for United States of America asked on
Microsoft SQL Server
3 Comments1 Solution119 ViewsLast Modified:
I need to populate a table named "TargetTable". The data to populate the table
will come from two different tables. One named Table1 and another named Table2 .
I need to tage the FUAD_ITS_CLERK_ID data from Table1 and the PSUS_USER_NUM
value from Table2 and put it into the target table. I am just lost when it comes to
figuring out the query for this. I know how to join the two tables, but not how to get
the end result of populating TargetTable. Can someone help me?

Table1 -- Spreadsheet

s611581          CRAB                
c611689               LEXY                
y657888          MUNC                

1                s611581
2                c611689
3                y657888

TargetTable -- Currently no data

TargetTable -- After a query is run to populate TargetTable
1                CRAB
2                LEXY
3                MUNC
Avatar of Koen Van Wielink
Koen Van WielinkFlag of Netherlands imageBusiness Intelligence Specialist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers