34,872
社区成员
发帖
与我相关
我的任务
分享declare @tb table (a int)
insert into @tb select 8
insert into @tb select -2
insert into @tb select -6
insert into @tb select 15
update @tb set a=case when a<0 then 0 else a-5 end
select * from @tb
3
0
0
10