当前位置: 代码迷 >> Oracle管理 >> oracle中条件语句如何写
  详细解决方案

oracle中条件语句如何写

热度:39   发布时间:2016-04-24 06:11:39.0
oracle中条件语句怎么写?
在sql   server   中条件判断可以这么写:case().....when().......then()
那在oracle中怎么写的?
请教高手!

------解决方案--------------------
select case when conditionA then resultA
when conditionB then resultB
...
else resultE
end
from table1;
  相关解决方案