📅  最后修改于: 2022-03-11 15:05:05.329000             🧑  作者: 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;