select *
from xxx
where key in (
select key
from xxx
where count(这个字段)>1
group by key)