oracle中条件语句怎么写? 在sql server 中条件判断可以这么写:case().....when().......then()那在oracle中怎么写的?请教高手! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select case when id=1 then 1 else 2 end case from t; oracle中也有case when then else end和decode case n when 1 then ... when 2 then ... else ...end或case when n=1 then ...when n=2 then ...else ...end select case when conditionA then resultA when conditionB then resultB ... else resultE end from table1; win7 下安装oracle9i 提示“path的值不能超过1023字符” oarcle重建索引时锁表报的错误号 oracle中PL-SQL中如何循环输入参数? Oracle 数组问题 大家帮忙看看这条sql语句怎么优化 谢谢啦 一个简单的 pl/sql ,我看不懂什么意思 如何实现在Oracle中图片的存贮与显示 在线请教Oracle 中的服务名是个什么东东? 各位大虾,小弟请教一下,如何写一个启动的监听BAT文件? 关于建立分布式数据库的配置问题(100不够再加!) 哪位大哥能帮帮忙:PLSQL Developer连不上另一个数据库!!!!! 怎样一条SQL语句,查询两个服务器??
when 1 then ...
when 2 then ...
else ...
end
或
case when n=1 then ...
when n=2 then ...
else ...
end
when conditionB then resultB
...
else resultE
end
from table1;