用SQL 编程语言 需要我的数据库吗?

2025-04-02 04:08:12
推荐回答(4个)
回答1:

当然要用啊 不用你库的话,怎么能查出来

回答2:

select sum(case when 年龄>=20 and 年龄<=29 then 200 end),
sum(case when 年龄>=30 and 年龄<=39 then 400 end),
sum(case when 年龄>=40 and 年龄<=49 then 600 end),
sum(case when 年龄>=50 and 年龄<=59 then 800 end)from 表 where 员工=“贾振旺”;

回答3:

简单办法Excel直接筛出来

回答4: