SELECT email, COUNT(email) AS NumOccurrencesFROM usersGROUP BY emailHAVING ( COUNT(email) > 1 )
SELECT emailFROM usersGROUP BY emailHAVING ( COUNT(email) = 1 )
No comments:
Post a Comment