retrieve unique entries

rogerwin7

Registered User.
Local time
Today, 12:45
Joined
Nov 25, 2008
Messages
18
Hi,

I have tree tables client, org, desg.
client contain fields name, email
org contain location, email, address
desg contain level, email, digit
i want to select only unique email ids from all the tree tables in a single query.
anybody please help me to build this query :o
 
SELECT EmailField
FROM FirstTable
UNION
SELECT EmailField
FROM SecondTable
UNION
SELECT EmailField
FROM ThirdTable
 

Users who are viewing this thread

Back
Top Bottom