Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql query to find duplicate records

SELECT firstname, 
   lastname, 
   list.address 
FROM list
   INNER JOIN (SELECT address
               FROM   list
               GROUP  BY address
               HAVING COUNT(id) > 1) dup
           ON list.address = dup.address;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #query #find #duplicate #records
ADD COMMENT
Topic
Name
3+9 =