|
|
|
@ -305,4 +305,16 @@ ORDER BY
|
|
|
|
|
insert into `excel_学段应用分布_c747031012`(`学段`,`学科`,`一级节点数`,`一级节点覆盖率`)
|
|
|
|
|
values(?,?,?,?);
|
|
|
|
|
#end
|
|
|
|
|
--------------------------------- 下面是县区的数据统计--------------------------------
|
|
|
|
|
-- 课程建设数量
|
|
|
|
|
#sql("Xq_KeChengShuLiang")
|
|
|
|
|
SELECT T1.gather_regionc,COUNT(DISTINCT T1.lesson_id) as cnt FROM
|
|
|
|
|
t_crawler_lesson_school T1 INNER JOIN t_crawler_lesson T2 ON T1.lesson_id=T2.lesson_id
|
|
|
|
|
WHERE T2.node_type=1 AND T2.subject_id IN ('213','241','214','264','215','225','228','224','313','314','341','316','317','318','321','320','364','325','322','324','413','414','416','441','417','418','448','421','420','425','422','424') and T1.gather_regionc<>'' GROUP BY T1.gather_regionc;
|
|
|
|
|
#end
|
|
|
|
|
-- 参与学校数量
|
|
|
|
|
#sql("Xq_CanYuXueXiao")
|
|
|
|
|
SELECT T1.gather_regionc,COUNT(DISTINCT T1.organization_name) as cnt
|
|
|
|
|
FROM t_crawler_lesson_school T1 INNER JOIN t_crawler_lesson T2 ON T1.lesson_id=T2.lesson_id WHERE T1.match_type=2 AND T2.subject_id IN ('213','241','214','264','215','225','228','224','313','314','341','316','317','318','321','320','364','325','322','324','413','414','416','441','417','418','448','421','420','425','422','424') and T1.gather_regionc<>'' GROUP BY gather_regionc;
|
|
|
|
|
#end
|
|
|
|
|
#end
|