V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  ration  ›  全部回复第 26 页 / 共 26 页
回复总数  503
1 ... 17  18  19  20  21  22  23  24  25  26  
2022 年 3 月 18 日
回复了 irisdev 创建的主题 程序员 请教一个简单的 sql 语句
我想复杂了。。。
select no,sum((case when year=1999 then -1 else 1 end)*salary) from table
where year in(1999,2000)

group by no

having count(1)>1 and sum((case when year=1999 then -1 else 1 end)*salary)>8000
2022 年 3 月 15 日
回复了 ration 创建的主题 .NET 求推荐. netcore 以上版本 CLR 的相关文章或书籍
@QingchuanZhang 这个不错
2022 年 3 月 14 日
回复了 ration 创建的主题 .NET 求推荐. netcore 以上版本 CLR 的相关文章或书籍
@Itoktsnhc 看了一下目录,是有涉及,讲的比较杂
1 ... 17  18  19  20  21  22  23  24  25  26  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   882 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 20:45 · PVG 04:45 · LAX 13:45 · JFK 16:45
♥ Do have faith in what you're doing.