/ Published in: SQL
Expand |
Embed | Plain Text
SELECT email, COUNT(email) AS NumOccurrences FROM users GROUP BY email HAVING (COUNT(email) > 1)
You need to login to post a comment.
Jamie on 07/27/09
1 person have marked this snippet as a favorite
SELECT email, COUNT(email) AS NumOccurrences FROM users GROUP BY email HAVING (COUNT(email) > 1)
You need to login to post a comment.