常用SQL之:统计重复数据的条数

select distinct id,name ,count(1)
from user1
group by id,name

 

posted @ 2021-10-21 09:39  LoveMe7788  阅读(1071)  评论(0编辑  收藏  举报