📅  最后修改于: 2022-03-11 14:55:23.988000             🧑  作者: Mango
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;