What is the simplest way (preferably without multiple queries) of selecting
a single instance of an email address even if multiple different names are
attached.  Let me give you an example...

DATA
----
Email                   Full Name
----------------------  ---------
[EMAIL PROTECTED]      James Smith
[EMAIL PROTECTED]      Jay Smith
[EMAIL PROTECTED]  James Smith

QUERY RESULTS
-------------
Email                   Full Name
----------------------  ---------
[EMAIL PROTECTED]      James Smith
[EMAIL PROTECTED]  James Smith

I don't care which of the two "[EMAIL PROTECTED]" results comes out, I just
require one of them.  Obviously I can't use DISTINCT because the two results
would be distinct because of the different full name.

--
James Smith
[EMAIL PROTECTED]


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184991
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to