casewhen

case when t.wshifts = '14:00' then '一班'= end k_shifts,

case when t.wshifts= '22:00' then '二班' end k_shifts,

如何用一个case when表达

FineReport 用户G2632943 发布于 2023-10-18 14:28
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共4回答
最佳回答
0
CT1448Lv5初级互助
发布于2023-10-18 14:29

case when t.wshifts = '14:00' then '一班' when t.wshifts= '22:00' then '二班' end k_shifts,

最佳回答
0
Z4u3z1Lv6专家互助
发布于2023-10-18 14:29(编辑于 2023-10-18 14:30)

case when t.wshifts = '14:00' then '一班' when t.wshifts= '22:00' then '二班'  else ''end  k_shifts 

最佳回答
0
runnerLv7资深互助
发布于2023-10-18 14:29

case when t.wshifts = '14:00' then '一班'

 when t.wshifts= '22:00' then '二班' end k_shift

最佳回答
0
ID1208Lv6高级互助
发布于2023-10-18 14:35

case t.wshifts when '14:00' then '一班'  when '22:00' then '二班'  end  k_shifts

  • 4关注人数
  • 144浏览人数
  • 最后回答于:2023-10-18 14:35
    请选择关闭问题的原因
    确定 取消
    返回顶部