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统计重复数据

 

相关文章:

  • 2021-07-03
  • 2021-10-03
  • 2022-03-01
  • 2021-12-24
  • 2021-05-25
  • 2022-01-01
  • 2022-02-13
猜你喜欢
  • 2021-06-21
  • 2022-02-14
  • 2022-03-06
  • 2022-12-23
  • 2021-06-26
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案