Some of the date stamps are distinct. 

RegDate FirstName       LastName        Email
10/1/2006       NULL            NULL            [EMAIL PROTECTED]
10/2/2006       NULL            NULL            [EMAIL PROTECTED]



-----Original Message-----
From: John Cox [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 30, 2006 3:05 PM
To: SQL
Subject: Re: SQL Question

On 10/30/06, Duane <[EMAIL PROTECTED]> wrote:
>
>
>
> Basically I need all records that have a first and last name, and only the
> null records that have a distinct email address.



Wouldn't

SELECT DISTINCT column_name(s)
FROM table_name

Work?  Maybe I am misunderstanding what you are trying to do.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:2596
Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.6

Reply via email to