有表A, 中有字段id, name, memo现在有很多id重复的数据,怎么把这些重复的都查出来?group by? 请写出SQL语句, 谢谢
select id, name, memofrom Awhere id in (select id from A group by id having count(1) >= 2)