gpt4 book ai didi

c# - 在 LINQ 中选择大小写

转载 作者:IT王子 更新时间:2023-10-29 04:15:42 25 4
gpt4 key购买 nike

<分区>

如何将其转换为 LINQ?

select t.age as AgeRange, count(*) as Users
from (
select case
when age between 0 and 9 then ' 0-25'
when age between 10 and 14 then '26-40'
when age between 20 and 49 then '60-100'
else '50+' end as age
from user) t
group by t.age

谢谢!

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com