📜  重复记录mysql代码示例

📅  最后修改于: 2022-03-11 15:05:05.329000             🧑  作者: Mango

代码示例5
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;