find duplicate rows in sql with single columns code example
Example: sql query to find duplicates in column
SELECT name, COUNT(email)
FROM users
GROUP BY email
HAVING COUNT(email) > 1
SELECT name, COUNT(email)
FROM users
GROUP BY email
HAVING COUNT(email) > 1