Connecting Tech Pros Worldwide Forums | Help | Site Map

Query to combine tables

Alex Chun
Guest
 
Posts: n/a
#1: Nov 7 '06
How can I make a Query that combines tables, so that if table1 has records
"apples", "pears" and table2 has records "apples", "cherries", the query
result will be "apples", "pears", "cherries"?

Thanks.

Alex



kingston via AccessMonster.com
Guest
 
Posts: n/a
#2: Nov 7 '06

re: Query to combine tables


Try an SQL union query:

SELECT Field FROM table1
UNION SELECT Field FROM table2;

Alex Chun wrote:
Quote:
>How can I make a Query that combines tables, so that if table1 has records
>"apples", "pears" and table2 has records "apples", "cherries", the query
>result will be "apples", "pears", "cherries"?
>
>Thanks.
>
>Alex
--
Message posted via http://www.accessmonster.com

Closed Thread