sql查询 同一个字段下另一个字段个数

select seriesid , count(reportid) from reportsystem
group by seriesid
having count(reportid) > 1

猜你喜欢

转载自www.cnblogs.com/gaara-zhang/p/9200725.html