oracle中条件语句如何写
oracle中条件语句怎么写?
在sql server 中条件判断可以这么写:case().....when().......then()
那在oracle中怎么写的?
请教高手!
------解决方案--------------------
select case when conditionA then resultA
when conditionB then resultB
...
else resultE
end
from table1;
在sql server 中条件判断可以这么写:case().....when().......then()
那在oracle中怎么写的?
请教高手!
------解决方案--------------------
select case when conditionA then resultA
when conditionB then resultB
...
else resultE
end
from table1;