select substring(s.sncode,1,4) qz,count(*) cnt
from uni_sncode s
where sncode not in ('1111','2222')
group by substring(s.sncode,1,4)
MySQL group by使用
最新推荐文章于 2025-01-21 17:58:33 发布
select substring(s.sncode,1,4) qz,count(*) cnt
from uni_sncode s
where sncode not in ('1111','2222')
group by substring(s.sncode,1,4)