V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ration  ›  全部回复第 16 页 / 共 16 页
回复总数  303
1 ... 7  8  9  10  11  12  13  14  15  16  
2022-03-18 23:25:48 +08:00
回复了 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-03-15 07:40:38 +08:00
回复了 ration 创建的主题 .NET 求推荐. netcore 以上版本 CLR 的相关文章或书籍
@QingchuanZhang 这个不错
2022-03-14 21:24:01 +08:00
回复了 ration 创建的主题 .NET 求推荐. netcore 以上版本 CLR 的相关文章或书籍
@Itoktsnhc 看了一下目录,是有涉及,讲的比较杂
1 ... 7  8  9  10  11  12  13  14  15  16  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1057 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 19:20 · PVG 03:20 · LAX 12:20 · JFK 15:20
Developed with CodeLauncher
♥ Do have faith in what you're doing.