mysql查询出表中相同的数据以及相同数据共有多少条

select phone,count(*) as count from app_user group by phone having count>1;

猜你喜欢

转载自blog.csdn.net/yangyongming_888/article/details/82977428
今日推荐