sql语句查询重复数据 select id, name, memofrom Awhere id in (select id from A group by id having count(1) >= 2)