首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

case应用

2013-07-01 
case使用select case namewhen a then Awhen b then Belse C endfrom t_user

case使用

select case name        when 'a' then 'A'       when 'b' then 'B'       else 'C' end  from t_user ;

热点排行