mysql查询表里的重复数据方法

select username,count(*) as count from hk_test group by username having count>1;

原文地址:https://www.cnblogs.com/xujiating/p/11888183.html