当前位置: 首页 > 面试经验 >

恒生笔试

优质
小牛编辑
75浏览
2023-09-08

恒生笔试

第五题sql怎么写啊
我写的
select
case
when year(birth)>=1990 and year(birth)<2000 then '90 后'
when year(birth)>=2000 and year(birth)<2010 then '00 后'
end as 年龄段,
sum(余额字段)(忘了) as '余额'
from xxx,xxx
where xxx xxx
group by 年龄段
测试通过了,但是提交它显示0% #恒生笔试#
 类似资料: