mysql查询表里的重复数据

先贴个简单的SQL语句

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

使用详情说明

posted @ 2019-05-07 20:07  张什么锋  阅读(12885)  评论(0编辑  收藏  举报