没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
-- 学生
select t.grade,
case t.grade
when '01' then '小学一年级'
when '02' then '小学二年级'
when '03' then '小学三年级'
when '04' then '小学四年级'
when '05' then '小学五年级'
when '06' then '小学六年级'
when '07' then '初中一年级'
when '08' then '初中二年级'
when '09' then '初中三年级'
when '10' then '高中一年级'
when '11' then '高中二年级'
when '12' then '高中三年级'
else null
end grade_name,
t.user_id from (
select case
when t2.mon > 9 then
case t2.phase
when '03' then t2.yea - t2.year + 1
when '04' then t2.yea - t2.year + 6 + 1
when '05' then t2.yea - t2.year + 6 + 3 + 1
END
else
case t2.phase
when '03' then t2.yea - t2.year
when '04' then t2.yea - t2.year + 6
when '05' then t2.yea - t2.year + 6 + 3
select t.grade,
case t.grade
when '01' then '小学一年级'
when '02' then '小学二年级'
when '03' then '小学三年级'
when '04' then '小学四年级'
when '05' then '小学五年级'
when '06' then '小学六年级'
when '07' then '初中一年级'
when '08' then '初中二年级'
when '09' then '初中三年级'
when '10' then '高中一年级'
when '11' then '高中二年级'
when '12' then '高中三年级'
else null
end grade_name,
t.user_id from (
select case
when t2.mon > 9 then
case t2.phase
when '03' then t2.yea - t2.year + 1
when '04' then t2.yea - t2.year + 6 + 1
when '05' then t2.yea - t2.year + 6 + 3 + 1
END
else
case t2.phase
when '03' then t2.yea - t2.year
when '04' then t2.yea - t2.year + 6
when '05' then t2.yea - t2.year + 6 + 3











资源评论

warmsmellofcolitas
- 粉丝: 2
- 资源: 55

上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
已下载
下载帮助

看过该资源的人还看了
安全验证
文档复制为VIP权益,开通VIP直接复制
