【Vegas原创】SQL case when 用法
select form_no,cource,hbddept,empno,hbdcnm,substring(empno,1,4) as eDate,
case ctype when '1' then '内训' when '0' then '外训' end
from old,etsshbd
where old.empno=etsshbd.hbdwno
case ctype when '1' then '内训' when '0' then '外训' end
from old,etsshbd
where old.empno=etsshbd.hbdwno
喜欢请赞赏一下啦^_^赞赏后请加wx:weyocul,相关文章提到的的安装包稍后给到哦!没有收到赞赏直接加我的,直接无视哈!

浙公网安备 33010602011771号