jsontosql怎么写 返回
SqlSugar
沟通中
3
163

悬赏:0 飞吻
要输出的sql是这种
select 编码= case when送往地点 is null then 'A' end
from temp1 tac 还有
select 编码= case when 送往地点 not like '%街道%' and 类型=1 then 'B' end
from temp2 tac
还有
select 编码= case when datediff(ss,开始时间,结束时间) <60 then 'B' when datediff(ss,开始时间,结束时间) >60 and datediff(ss,开始时间,结束时间) <90 then 'C' when datediff(ss,开始时间,结束时间) >90 then 'D'end
from temp3 tac
的jsontosql怎么写
热忱回答(3)
-
fate sta VIP0
1个月前按上面的格式转成下面的格式
0 回复 -
fate sta VIP0
1个月前这个是 format函数中用case对象用法
0 回复 -
fate sta VIP0
1个月前如果有datediff 要嵌套一个datediff函数
0 回复