Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

SQL: Check For Duplicate Rows

DZone's Guide to

SQL: Check For Duplicate Rows

·
Free Resource

SELECT email,
COUNT(email) AS NumOccurrences
FROM users
GROUP BY email
HAVING ( COUNT(email) > 1 )
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}