Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Union Query

Status
Not open for further replies.

aarellano

MIS
Joined
Oct 22, 2007
Messages
168
Location
US
Recently I learned about Union queries thanks to lespaul

Thanks Lesly!!

Can I do a union query from two tables that have only one filed that is equal. and bring in all the fields from one and all the fields from the other one?
 
Although a UNION is often portrayed as a type of join, it is not one that depends on any type of record matching among the tables being UNIONed. The only requirements are that there must be the same number of fields in each SELECT and corresponding fields must be of the same data type.

From your description, you may want to look at outer joins in the reference that PHV gave you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top