I need help with a query

D

Dave

I have two tables with the same fields and I want to run a query that stacks
the information on top of the other. Sort of like an append, but I do not
want to create a table. Ex:

T1 has ID, EmplID
T2 has ID, EmplID

T1 1 111111
T1 3 333333


T2 2 222222
T2 4 444444

Result would be:

ID EmplID
1 111111
2 222222
3 333333
4 444444

Is this possbile and if so how do I do it?

Thanks

Dave
 
G

Guest

Use a union query to join both tables
Select Id, EmpId From Table1 Union
Select Id, EmpId From Table2
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top