最新网址获取邮箱fengjianghu666@gmail.com请一定要保存

 找回密码
 立即注册
楼主: 干一炮

[呼和浩特] 呼市小姐姐

 火 [复制链接]
发表于 2021-3-9 11:43:04 | 显示全部楼层
select * from (
7 x3 Y% D/ m2 F7 y/ A6 M: t8 Y' ~select business_year x,round(cast(sum(recruit_student_count) as decimal(20,2))/1000,1) y ,'招生人数' as s ,area6 q# H- ]) ~' q. u$ u3 j- @/ A
from admissions_data_info
0 l. g3 I; b6 P6 n# S+ Kgroup by business_year,area
$ y$ d+ m+ j* P7 `/ i( Lunion all
1 r; T1 K4 M" ~: G2 g3 Wselect business_year x,round(cast(sum(school_age_number)  as decimal(20,2))/1000,1) y ,'入学缺口' as s ,area, E( r$ S" h' W+ O
from admissions_data_info3 l" Z4 X( g2 H
group by business_year,area8 z' F: y6 n* ]8 d
union all
6 E& d" p0 c# w6 [9 o% m( E3 Zselect business_year x,round(cast(sum(recruit_student_count) as decimal(20,2))/1000 ,1) y ,'招生人数' as s ,'所有区县' area5 B: [! b5 N, Z1 C- f9 l
from admissions_data_info + O9 g  m  X3 A& N
group by business_year
! H* c% R7 T" m' munion all
; Z1 p% k5 l" ]select business_year x,round(cast(sum(school_age_number) as decimal(20,2))/1000,1) y ,'入学缺口' as s ,'所有区县' area
% I8 ~+ l: f) [8 s. ~8 }0 R( a$ Xfrom admissions_data_info9 j' p) B, p7 Q8 F3 Y$ V
group by business_year
2 I4 R2 t, A% L4 `2 E' D1 a)a
3 w9 Q6 p! E  z2 J2 v/ N7 Fwhere area=:area
" p3 }6 L; J* U" H+ Sorder by x
回复

使用道具 举报

发表于 2021-3-22 07:37:02 | 显示全部楼层
小手一抖,江湖币到手!
回复

使用道具 举报

发表于 2021-4-9 00:41:58 | 显示全部楼层
路过,支持一下啦
回复

使用道具 举报

发表于 2021-5-12 20:40:46 | 显示全部楼层
不知该说些什么。。。。。。就是谢谢
回复

使用道具 举报

发表于 2021-5-22 06:33:12 | 显示全部楼层
没看完~~~~~~ 先顶,好同志
回复

使用道具 举报

发表于 2021-6-9 16:48:08 | 显示全部楼层
学习了,不错,讲的太有道理了
回复

使用道具 举报

发表于 2021-6-10 10:00:34 | 显示全部楼层
小手一抖,江湖币到手!
回复

使用道具 举报

发表于 2021-6-15 14:34:47 | 显示全部楼层
路过,支持一下啦
回复

使用道具 举报

发表于 2021-6-16 08:42:35 | 显示全部楼层
相当不错,感谢无私分享精神!
回复

使用道具 举报

发表于 2021-6-21 09:47:10 | 显示全部楼层
没看完~~~~~~ 先顶,好同志
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|凤江湖论坛

GMT+8, 2026-11-6 12:19 , Processed in 0.087613 second(s), 14 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表