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

Oracle PL/SQL 传记

2012-07-16 
Oracle PL/SQL 杂记--case在sql中使用示例?--表达式case使用select case 1 when 1 then aelse b end c

Oracle PL/SQL 杂记

--case在sql中使用示例

?

--表达式case使用

select case 1 when 1 then 'a'else 'b' end case from dual;

?

--条件case使用

select case when 10>2 then 'a' else 'b' end case from dual;

?

?

热点排行
Bad Request.