| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Jonathan Duncan | Date: | July 8 2004 9:53pm |
| Subject: | Weeding out duplicates | ||
| View as plain text | |||
I am trying to get rid of duplicate user info entries in a database. I am assuming that the email address is unique but other information, like first name, last name, address, etc are not. The "email" field is not a unique field in the database. I was trying something like the following, but not getting what I wanted. select distinct u1.id,u1.firstname,u1.lastname,u1.email from Users u1, Users u2 where u1.email=u2.email; How can I go about identifying the duplicate entries of email addresses? Thank you, Jonathan Duncan
| Thread | ||
|---|---|---|
| • Weeding out duplicates | Jonathan Duncan | 8 Jul |
| • RE: Weeding out duplicates | Lachlan Mulcahy | 9 Jul |
| • Re: Weeding out duplicates | jeffrey_n_Dyke | 9 Jul |
| • Re: Weeding out duplicates | Jonathan Duncan | 9 Jul |
| • RE: Weeding out duplicates | Jonathan Duncan | 9 Jul |
| • RE: Weeding out duplicates | Robert A. Rosenberg | 11 Jul |
| • RE: Weeding out duplicates | Jonathan Duncan | 10 Jul |
| • RE: Weeding out duplicates | Robert A. Rosenberg | 11 Jul |
| • RE: Weeding out duplicates | Jonathan Duncan | 12 Jul |
| • RE: Weeding out duplicates | SGreen | 14 Jul |
