duplicate table with different column names sql 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