You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
804 B
7 lines
804 B
SELECT sbr.organizationNo ,1 as schoolTypeGroupNo,'一、高中阶段' as schoolTypeGroup,2 as schoolTypeGroupNo2,'(二)中等职业学校' as schoolTypeGroup2 ,sbr.businessTypeNo
|
|
, case when sbr.businessTypeNo in ('369') then '其他机构(班)' when sbr.businessTypeNo in ('368') then '附设中职班' else sbr.businessType end as businessType
|
|
,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation , isCount ,sbr.gatherregionc ,va.region_no
|
|
from schoolBusinessRelation sbr
|
|
inner join v_areainfo va on va.region_name =sbr.gatherregionc
|
|
where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('362','364','365','361','363','368','369') and sbr.isLastYearCancel =0
|
|
order by sbr.businessTypeNo; |