diff --git a/Report/县区/002普通高中学生数(总计).rpx b/Report/县区/002普通高中学生数(总计).rpx new file mode 100644 index 00000000..496700ff Binary files /dev/null and b/Report/县区/002普通高中学生数(总计).rpx differ diff --git a/Report/县区/003普通中学教职工数(总计).rpx b/Report/县区/003普通中学教职工数(总计).rpx new file mode 100644 index 00000000..112f95bf Binary files /dev/null and b/Report/县区/003普通中学教职工数(总计).rpx differ diff --git a/Report/县区/004普通高中专任教师学历、专业技术职务情况(总计).rpx b/Report/县区/004普通高中专任教师学历、专业技术职务情况(总计).rpx new file mode 100644 index 00000000..c1997e6d Binary files /dev/null and b/Report/县区/004普通高中专任教师学历、专业技术职务情况(总计).rpx differ diff --git a/Report/县区/007中等职业学校(机构)数.rpx b/Report/县区/007中等职业学校(机构)数.rpx index 13deafb5..d9467cd2 100644 Binary files a/Report/县区/007中等职业学校(机构)数.rpx and b/Report/县区/007中等职业学校(机构)数.rpx differ diff --git a/Report/县区/008中等职业学校(机构)学生数.rpx b/Report/县区/008中等职业学校(机构)学生数.rpx new file mode 100644 index 00000000..49a7c2cc Binary files /dev/null and b/Report/县区/008中等职业学校(机构)学生数.rpx differ diff --git a/Report/县区/009中等职业学校(机构)教职工数.rpx b/Report/县区/009中等职业学校(机构)教职工数.rpx new file mode 100644 index 00000000..65f9b7f8 Binary files /dev/null and b/Report/县区/009中等职业学校(机构)教职工数.rpx differ diff --git a/Report/县区/010中等职业学校(机构)专任教师专业技术职务、学历情况.rpx b/Report/县区/010中等职业学校(机构)专任教师专业技术职务、学历情况.rpx new file mode 100644 index 00000000..00a8e207 Binary files /dev/null and b/Report/县区/010中等职业学校(机构)专任教师专业技术职务、学历情况.rpx differ diff --git a/Report/县区/015初中学生数(总计).rpx b/Report/县区/015初中学生数(总计).rpx new file mode 100644 index 00000000..bb7b4e4e Binary files /dev/null and b/Report/县区/015初中学生数(总计).rpx differ diff --git a/Report/县区/016初中专任教师学历、专业技术职务情况(总计).rpx b/Report/县区/016初中专任教师学历、专业技术职务情况(总计).rpx new file mode 100644 index 00000000..126c729e Binary files /dev/null and b/Report/县区/016初中专任教师学历、专业技术职务情况(总计).rpx differ diff --git a/Report/县区/019小学校数、教学点数及班数(总计).rpx b/Report/县区/019小学校数、教学点数及班数(总计).rpx index d06e37cc..6485451a 100644 Binary files a/Report/县区/019小学校数、教学点数及班数(总计).rpx and b/Report/县区/019小学校数、教学点数及班数(总计).rpx differ diff --git a/Report/县区/020小学学生数(总计).rpx b/Report/县区/020小学学生数(总计).rpx new file mode 100644 index 00000000..72f4fa04 Binary files /dev/null and b/Report/县区/020小学学生数(总计).rpx differ diff --git a/Report/县区/021小学教职工数(总计).rpx b/Report/县区/021小学教职工数(总计).rpx new file mode 100644 index 00000000..efc2daae Binary files /dev/null and b/Report/县区/021小学教职工数(总计).rpx differ diff --git a/Report/县区/022小学专任教师学历、专业技术职务情况(总计).rpx b/Report/县区/022小学专任教师学历、专业技术职务情况(总计).rpx new file mode 100644 index 00000000..4a70d93d Binary files /dev/null and b/Report/县区/022小学专任教师学历、专业技术职务情况(总计).rpx differ diff --git a/Report/县区/027特殊教育学校教职工数.rpx b/Report/县区/027特殊教育学校教职工数.rpx new file mode 100644 index 00000000..f04db848 Binary files /dev/null and b/Report/县区/027特殊教育学校教职工数.rpx differ diff --git a/Report/县区/028特殊教育学校专任教师学历、专业技术职务情况.rpx b/Report/县区/028特殊教育学校专任教师学历、专业技术职务情况.rpx new file mode 100644 index 00000000..f2ec1bbd Binary files /dev/null and b/Report/县区/028特殊教育学校专任教师学历、专业技术职务情况.rpx differ diff --git a/Report/县区/032幼儿园教职工数(总计).rpx b/Report/县区/032幼儿园教职工数(总计).rpx new file mode 100644 index 00000000..f4e1014e Binary files /dev/null and b/Report/县区/032幼儿园教职工数(总计).rpx differ diff --git a/Report/县区/033幼儿园园长、专任教师学历、专业技术职务情况(总计).rpx b/Report/县区/033幼儿园园长、专任教师学历、专业技术职务情况(总计).rpx new file mode 100644 index 00000000..9476d435 Binary files /dev/null and b/Report/县区/033幼儿园园长、专任教师学历、专业技术职务情况(总计).rpx differ diff --git a/ReportSQL/县区/002普通高中学生数(总计).txt b/ReportSQL/县区/002普通高中学生数(总计).txt new file mode 100644 index 00000000..66cbbc50 --- /dev/null +++ b/ReportSQL/县区/002普通高中学生数(总计).txt @@ -0,0 +1,10 @@ +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)普通高中' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum(f) as zhaoshengNo,sum(i+j+k) as zaixiaoNo,sum(e) as biyeNo,sum(h) as nvNo,sum(l) as yuji_biyeNo,sum(i) as grade1,sum(j) as grade2,sum(k) as grade3 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J314 as j on j.instanceid =it.instanceid and did in (1,11,12,13,14,15,16,17,18,19) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('341','342','345','349') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/003普通中学教职工数(总计).txt b/ReportSQL/县区/003普通中学教职工数(总计).txt new file mode 100644 index 00000000..2011e008 --- /dev/null +++ b/ReportSQL/县区/003普通中学教职工数(总计).txt @@ -0,0 +1,10 @@ +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)普通高中' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum( e+f+g+h+i) as jzgNo, sum(e) as teacherNo,sum(f) as teacherNo2,sum(g) as teacherNo3,sum(h) as teacherNo4,sum(i) as teacherNo5,sum(j) as teacherNo6,sum(k) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J412 as j on j.instanceid =it.instanceid and j.did =1 +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in ('311','312','321','341','342','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/004普通高中专任教师学历、专业技术职务情况(总计).txt b/ReportSQL/县区/004普通高中专任教师学历、专业技术职务情况(总计).txt new file mode 100644 index 00000000..4aa2e489 --- /dev/null +++ b/ReportSQL/县区/004普通高中专任教师学历、专业技术职务情况(总计).txt @@ -0,0 +1,36 @@ +--did: +--22、正高级 +--23、副高级 +--24、中级 +--25、助理级 +--26、员级 +--27、未定职级 + +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)普通高中' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum (F + G + H + I +j+k+l+ M + N ) as teacherNO,j.did +from schoolBusinessRelation sbr +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 (22,23,24,25,26,27) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in ('341','342','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no,j.did +order by sbr.businessTypeNo; + +--did: +--13、研究生毕业 +--14、本科毕业 +--15、专科毕业 +--16、高中阶段毕业 +--17、高中阶段以下毕业 + +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)普通高中' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum (F + G + H + I + M + N + O + P + Q + R + S + T + U + V + W + X + Y + Z + AC + AD) as teacherNO2 ,did +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J424 as j on j.instanceid =it.instanceid and did in (13,14,15,16,17) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in ('311','312','321','341','342','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no ,did +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/008中等职业学校(机构)学生数.txt b/ReportSQL/县区/008中等职业学校(机构)学生数.txt new file mode 100644 index 00000000..1d4b1d67 --- /dev/null +++ b/ReportSQL/县区/008中等职业学校(机构)学生数.txt @@ -0,0 +1,11 @@ +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)中等职业学校' as schoolTypeGroup2 ,sbr.businessTypeNo,case when sbr.businessTypeNo in ('368','369') then '其他机构(班)' else sbr.businessType end as businessType +, sbr.isCount ,sbr.gatherregionc ,va.region_no , sum(h) as zhaoshengNo,sum(i) as zhaoshengNo2,sum(j) as zhaoshengNo3,sum(k) as zhaoshengNo4 +,sum(m+n+o+p) as zaixiaoNo,sum(m) as zaixiaoNo2,sum(n) as zaixiaoNo3,sum(o) as zaixiaoNo4,sum(p) as zaixiaoNo5 +,sum(f) as biyeNo,sum(g) as biyeNo2,sum(q) as biyeNo3,sum(r) as biyeNo4 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join Z311 as j on j.instanceid =it.instanceid and j.did in (11,14,17,20) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('361','362','363','364','365','368','369') and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/009中等职业学校(机构)教职工数.txt b/ReportSQL/县区/009中等职业学校(机构)教职工数.txt new file mode 100644 index 00000000..6b481718 --- /dev/null +++ b/ReportSQL/县区/009中等职业学校(机构)教职工数.txt @@ -0,0 +1,9 @@ +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)中等职业学校' as schoolTypeGroup2 ,sbr.businessTypeNo,case when sbr.businessTypeNo in ('368','369') then '其他机构(班)' else sbr.businessType end as businessType,sbr.gatherregionc ,va.region_no +, sbr.isCount ,sum(g+h+i+j+k+l) as jzgNo,sum(g) as teacherNo,sum(h) as teacherNo2,sum(i) as teacherNo3,sum(j) as teacherNo4,sum(k) as teacherNo5,sum(l) as teacherNo6,sum(m) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join Z411 as j on j.instanceid =it.instanceid and j.did in (3,4,5,6,7) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('362','364','365','369','361','363') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/010中等职业学校(机构)专任教师专业技术职务、学历情况.txt b/ReportSQL/县区/010中等职业学校(机构)专任教师专业技术职务、学历情况.txt new file mode 100644 index 00000000..b69755c6 --- /dev/null +++ b/ReportSQL/县区/010中等职业学校(机构)专任教师专业技术职务、学历情况.txt @@ -0,0 +1,15 @@ +--did: +--正高级4 +--副高级5 +--中 级6 +--初 级7 +--未定职级8 +SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)中等职业学校' as schoolTypeGroup2 ,sbr.businessTypeNo,case when sbr.businessTypeNo in ('368','369') then '其他机构(班)' else sbr.businessType end as businessType,sbr.gatherregionc ,va.region_no +, sbr.isCount ,sum(e+f+g+h+i) as teacherNo,sum(e),sum(f),sum(g),sum(h),sum(i) +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join Z422 as j on j.instanceid =it.instanceid and j.did in (4,5,6,7,8) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('362','364','365','369','361','363') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; diff --git a/ReportSQL/县区/015初中学生数(总计).txt b/ReportSQL/县区/015初中学生数(总计).txt new file mode 100644 index 00000000..625b3f1d --- /dev/null +++ b/ReportSQL/县区/015初中学生数(总计).txt @@ -0,0 +1,10 @@ +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)初中阶段' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum(f) as zhaoshengNo,sum(i+j+k+l) as zaixiaoNo,sum(e) as biyeNo,sum(h) as nvNo,sum(m) as yuji_biyeNo,sum(i) as grade1,sum(j) as grade2,sum(k) as grade3,sum(l) as grade4 +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) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +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 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; diff --git a/ReportSQL/县区/016初中专任教师学历、专业技术职务情况(总计).txt b/ReportSQL/县区/016初中专任教师学历、专业技术职务情况(总计).txt new file mode 100644 index 00000000..15fe0562 --- /dev/null +++ b/ReportSQL/县区/016初中专任教师学历、专业技术职务情况(总计).txt @@ -0,0 +1,38 @@ +--did: +--13、正高级 +--14、副高级 +--15、中级 +--16、助理级 +--17、员级 +--18、未定职级 + +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)初中阶段' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum (F + G + H + I +j+k+l+ M + N ) as teacherNO,j.did,sum(e) as nv_no +from schoolBusinessRelation sbr +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') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no,j.did +order by sbr.businessTypeNo; + +--did +--女3 +--少数民族4 +--研究生毕业5 +--本科毕业6 +--专科毕业7 +--高中阶段毕业8 +--高中阶段以下毕业9 + +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)初中阶段' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum (F + G + H + I + M + N + O + P + Q + R + S + T + U + V + W + X + Y + Z + AC + AD) as teacherNO2 ,did +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J424 as j on j.instanceid =it.instanceid and did in (5,6,7,8,9) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in ('311','312','321') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no ,did +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/020小学学生数(总计).txt b/ReportSQL/县区/020小学学生数(总计).txt new file mode 100644 index 00000000..438d317a --- /dev/null +++ b/ReportSQL/县区/020小学学生数(总计).txt @@ -0,0 +1,11 @@ +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)小学' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum(f) as zhaoshengNo,sum(j+k+l+m+n+o) as zaixiaoNo,sum(e) as biyeNo,sum(i) as nvNo,sum(p) as yuji_biyeNo, +sum(j) as j,sum(k) as k,sum(l) as l ,sum(m) as m,sum(n) as n,sum(o) as o +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J312 as j on j.instanceid =it.instanceid and j.did in (1,37,38,39,40,41,42,43,44,45,46,47) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('211','218','219','312','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; diff --git a/ReportSQL/县区/021小学教职工数(总计).txt b/ReportSQL/县区/021小学教职工数(总计).txt new file mode 100644 index 00000000..ac666253 --- /dev/null +++ b/ReportSQL/县区/021小学教职工数(总计).txt @@ -0,0 +1,11 @@ +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)小学' as schoolTypeGroup2 ,sbr.businessTypeNo,'小学' as businessType +,case when sbr.businessTypeNo='218' then 0 else 1 end as isCount +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sum( e+f+g+h+i) as jzgNo, sum(e) as teacherNo,sum(f) as teacherNo2,sum(g) as teacherNo3,sum(h) as teacherNo4,sum(i) as teacherNo5,sum(j) as teacherNo6,sum(k) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J412 as j on j.instanceid =it.instanceid and j.did =1 +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('211','218') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/022小学专任教师学历、专业技术职务情况(总计).txt b/ReportSQL/县区/022小学专任教师学历、专业技术职务情况(总计).txt new file mode 100644 index 00000000..5477b172 --- /dev/null +++ b/ReportSQL/县区/022小学专任教师学历、专业技术职务情况(总计).txt @@ -0,0 +1,37 @@ +--did: +--14、正高级 +--15、副高级 +--16、中级 +--17、助理级 +--18、员级 +--19、未定职级 + +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)小学' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum (F + G + H + I +j+k+l+ M + N ) as teacherNO,(j.did+10) as did,sum(e) as nv_no +from schoolBusinessRelation sbr +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 (4,5,6,7,8,9) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in ('211','218','312','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no,j.did +order by sbr.businessTypeNo; + +--did +--女2 +--少数民族3 +--研究生毕业4 +--本科毕业5 +--专科毕业6 +--高中阶段毕业7 +--高中阶段以下毕业8 +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)小学' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +, sbr.isCount , sum(F + G + H + I + M + N + O + P + Q + R + U + V ) as teacherNO2 ,did +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J423 as j on j.instanceid =it.instanceid and did in (4,5,6,7,8) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in ('211','218','312','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no ,did +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/027特殊教育学校教职工数.txt b/ReportSQL/县区/027特殊教育学校教职工数.txt new file mode 100644 index 00000000..67466929 --- /dev/null +++ b/ReportSQL/县区/027特殊教育学校教职工数.txt @@ -0,0 +1,9 @@ +SELECT sbr.organizationNo ,3 as schoolTypeGroupNo,'三、特殊教育' as schoolTypeGroup,0 as schoolTypeGroupNo2,'' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType ,sbr.gatherregionc ,va.region_no +, sbr.isCount, sum( e+f+g+h) as jzgNo,sum(e) as teacherNo,sum(e),sum(f), sum(g), sum(h), sum(i), sum(j),did +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J413 as j on j.instanceid =it.instanceid and j.did in (1,2,3,4) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('511','512','513','514') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,did ,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/028特殊教育学校专任教师学历、专业技术职务情况.txt b/ReportSQL/县区/028特殊教育学校专任教师学历、专业技术职务情况.txt new file mode 100644 index 00000000..a13da757 --- /dev/null +++ b/ReportSQL/县区/028特殊教育学校专任教师学历、专业技术职务情况.txt @@ -0,0 +1,10 @@ +SELECT sbr.organizationNo ,3 as schoolTypeGroupNo,'三、特殊教育' as schoolTypeGroup,0 as schoolTypeGroupNo2,'' as schoolTypeGroup2 ,sbr.businessTypeNo,sbr.businessType ,sbr.gatherregionc ,va.region_no +, sbr.isCount, sum( e+f+g+h+i) as jzgNo,sum(e) as teacherNo,sum(e),sum(f), sum(g), sum(h), sum(i), sum(j),sum(i) +, sum(j),sum(k),sum(l),sum(m),sum(n),sum(o),did +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J425 as j on j.instanceid =it.instanceid and j.did in (1,2,3) +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('511','512','513','514') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,did,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/032幼儿园教职工数(总计).txt b/ReportSQL/县区/032幼儿园教职工数(总计).txt new file mode 100644 index 00000000..008f2d81 --- /dev/null +++ b/ReportSQL/县区/032幼儿园教职工数(总计).txt @@ -0,0 +1,10 @@ +SELECT sbr.organizationNo ,5 as schoolTypeGroupNo,'五、学前教育' as schoolTypeGroup,0 as schoolTypeGroupNo2,'' as schoolTypeGroup2,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +,sbr.isCount,sum( e+f+g+h+i) as jzgNo,sum(e) ,sum(f) ,sum(g) ,sum(h) ,sum(i) ,sum(j) ,sum(k) +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J411 as j on j.instanceid =it.instanceid and j.did =1 +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('111') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/县区/033幼儿园园长、专任教师学历、专业技术职务情况(总计).txt b/ReportSQL/县区/033幼儿园园长、专任教师学历、专业技术职务情况(总计).txt new file mode 100644 index 00000000..bdb0a26d --- /dev/null +++ b/ReportSQL/县区/033幼儿园园长、专任教师学历、专业技术职务情况(总计).txt @@ -0,0 +1,28 @@ +--did +--1 院长 + +SELECT sbr.organizationNo ,5 as schoolTypeGroupNo,'五、学前教育' as schoolTypeGroup,0 as schoolTypeGroupNo2,'' as schoolTypeGroup2,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +,sbr.isCount,sum( e+f+g+h+i+j+k+l+m+n+o) as jzgNo +,sum(e) ,sum(f) ,sum(g) ,sum(h) ,sum(i) ,sum(j) ,sum(k) ,sum(l) ,sum(m) ,sum(n) ,sum(o) +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J4211 as j on j.instanceid =it.instanceid and j.did =1 +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('111') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; + +--did +--2 专任教师 +SELECT sbr.organizationNo ,5 as schoolTypeGroupNo,'五、学前教育' as schoolTypeGroup,0 as schoolTypeGroupNo2,'' as schoolTypeGroup2,sbr.businessTypeNo,sbr.businessType +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +,sbr.isCount,sum( e+f+g+h+i+j+k+l+m+n+o) as jzgNo +,sum(e) ,sum(f) ,sum(g) ,sum(h) ,sum(i) ,sum(j) ,sum(k) ,sum(l) ,sum(m) ,sum(n) ,sum(o) +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J4211 as j on j.instanceid =it.instanceid and j.did =2 +inner join v_areainfo va on va.region_name =sbr.gatherregionc +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('111') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.gatherregionc ,va.region_no +order by sbr.businessTypeNo; \ No newline at end of file diff --git a/ReportSQL/无标题-30.txt b/ReportSQL/无标题-30.txt index 390e6815..5191fb91 100644 --- a/ReportSQL/无标题-30.txt +++ b/ReportSQL/无标题-30.txt @@ -27,4 +27,6 @@ end if(value()=="女",space(2)+"其中:"+value(),space(8)+value()) -if(value()==0,"") \ No newline at end of file +if(value()==0,"") + +=space(2)+ds1.group(gatherregionc) \ No newline at end of file