Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

find duplicate users by email address in mysql

SELECT users.name, users.uid, users.mail, from_unixtime(created)
FROM users
INNER JOIN (
  SELECT mail
  FROM users
  GROUP BY mail
  HAVING count(mail) > 1
) dupes ON users.mail = dupes.mail
ORDER BY users.mail;
Source by lutios.com #
 
PREVIOUS NEXT
Tagged: #find #duplicate #users #email #address #mysql
ADD COMMENT
Topic
Name
3+6 =