select * from user where name in (select name from user group by name having count(*)>1)
转载于:https://www.cnblogs.com/visionwang/p/3317362.html
select * from user where name in (select name from user group by name having count(*)>1)
转载于:https://www.cnblogs.com/visionwang/p/3317362.html