2 replies
by cherritz Accepted solution
by tony hopkinson Accepted solution
Select .. From Table Where...
Union all
select .. from Table where..
The columns have to match in number and type, the names of them will be those in the first table.
If you want to then say order the resukt, then in access you'd name the union query and then select from that, in a full DBMS
you just do
Select * From (put union query in here) someusefulfor table
[Where ...]
[Order By ...]
Won't be so in your case, but if you have a record the same in both tables, thye would both end up in the result, if you didn't want that then use Union in stead of uinion all.
You can do mpre than two as well, just chain them togther.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending