master
wubin 5 years ago
parent 97670ac155
commit f2cbdabbd8

@ -1 +1,5 @@
select * from mv_db_xjxzs
SELECT '学校总数' AS title,sum(count) AS count FROM mv_db_base_school
UNION ALL
SELECT '教职工总数' AS title, jzgno AS count FROM mv_db_base_jiaozhigong
UNION ALL
SELECT '学生总数' AS title, sum(zaixiaono) AS count FROM mv_db_base_student

@ -0,0 +1,7 @@
select '教职工总人数' as title,jzgno as count from mv_db_base_jiaozhigong
union all
select '女教职工总人数' as title,nv_jzgno as count from mv_db_base_jiaozhigong
union all
select '专任教师总人数' as title,sum(teacherno) from mv_db_base_zhuanrenjiaoshi
union all
select '在编教师总人数' as title,count from mv_db_base_zaibian
Loading…
Cancel
Save