时间:2021-07-01 10:21:17 帮助过:2人阅读
sql代码如下:
统计重复的数据
select MingCheng from tabShouFeiGongShi group by MingCheng having count(MingCheng) >= 2
select * from
(select *
from tabShouFeiGongShi
where MingCheng in (select MingCheng from tabShouFeiGongShi group by MingCheng having count(MingCheng) >= 2)) t order by MingCheng
sql统计重复数据
标签: