大明宫

关注

【Vegas原创】SQL case when 用法

大明宫

关注

阅读 227

2022-09-08

 

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 

 

相关推荐

心智的年轮

SQL中的 CASE WHEN用法详解

心智的年轮 29 0 0

静守幸福

CASE WHEN的用法

静守幸福 178 0 0

eelq

MySQL case when 用法

eelq 64 0 0

灵魂跑者

mysql case when then用法

灵魂跑者 140 0 0

晗韩不普通

Oracle case when用法

晗韩不普通 153 0 0

玉字璧

sql语句之case when else用法示例

玉字璧 153 0 0

科牛

Mysql case when 用法

科牛 112 0 0

灯火南山

ORACLE CASE WHEN 及 SELECT CASE WHEN的用法

灯火南山 136 0 0

中间件小哥

SQL server CASE WHEN

中间件小哥 226 0 0

phpworkerman

sql 查询(case when)

phpworkerman 36 0 0

精彩评论(0)

0 0 举报