查询category
表中,catname
字段值重复的数据及重复次数
select catname, count(*) as count
from category
group by catname
having count>1
微信扫一扫
查询category
表中,catname
字段值重复的数据及重复次数
select catname, count(*) as count
from category
group by catname
having count>1
相关推荐