duplicate records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a very simple querie which is giving me trouble.

I have 2 fields - ID, emailaddress

when i run the duplicate wizard it illiminates more than just dups.

all i want to do is remove duplicate email address of 30,000 entries.
 
Hi,


SELECT id, emailAddress
FROM mytable
GROUP BY id, emailAddress




or, in this case, simply


SELECT DISTINCT id, emailAddress
FROM myTable



Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top