Joined Tables (1 Viewer)

gisash1

Registered User.
Local time
Today, 05:21
Joined
Aug 23, 2004
Messages
31
I have two tables with salesmen. Some of the salesmen are in both tables. I need to creat the third table which will include the salesmen from the second table who aren't in the first table. In the Join Properties all criterias with "are equal" statement. But I need "are not equal".
Thanks in advance
 

gisash1

Registered User.
Local time
Today, 05:21
Joined
Aug 23, 2004
Messages
31
Actually all I need to do is to creat a list of salesmen from two tables, without duplicates.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 04:21
Joined
Aug 30, 2003
Messages
36,125
A union query will do it:

SELECT Salesman
FROM Table1
UNION
SELECT Salesman
FROM Table2;
 

Users who are viewing this thread

Top Bottom