How to identify duplicates in a table....
SELECT email,
Count(email) AS numoccurrences
FROM users
GROUP BY email
HAVING (Count(email) > 1)
Of course, what to do with all those duplicates is up to you!
Friday, 5 February 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment