/ Published in: SQL
URL: http://www.petefreitag.com/item/169.cfm
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.
samwa on 03/23/11
1 person have marked this snippet as a favorite
URL: http://www.petefreitag.com/item/169.cfm
SELECT email, COUNT(email) AS NumOccurrences FROM users GROUP BY email HAVING ( COUNT(email) > 1 )
You need to login to post a comment.