|
|
|
@ -13,7 +13,7 @@ select t1.a as stage,t1.citycountrygroup,sum(c1) as studentNo,sum(c2) as teacher
|
|
|
|
|
from schoolBusinessRelation sbr
|
|
|
|
|
inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno
|
|
|
|
|
inner join J313 as j on j.instanceid =it.instanceid and j.did in (1,36,37,38,39,40,41,42,43,44)
|
|
|
|
|
where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('311','312','319','321','341','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019
|
|
|
|
|
where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('311','312','319','341','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019
|
|
|
|
|
group by sbr.cityCountryGroup
|
|
|
|
|
|
|
|
|
|
union all
|
|
|
|
@ -48,7 +48,7 @@ select t1.a as stage,t1.citycountrygroup,sum(c1) as studentNo,sum(c2) as teacher
|
|
|
|
|
inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno
|
|
|
|
|
inner join J422 as j on j.instanceid =it.instanceid and did in (13,14,15,16,17,18)
|
|
|
|
|
inner join v_areainfo va on va.region_name =sbr.gatherregionc
|
|
|
|
|
where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('311','312','321','341','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019
|
|
|
|
|
where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('311','312','341','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019
|
|
|
|
|
group by sbr.cityCountryGroup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|