oracle if else if语句格式 oracle怎么写IF语句?
oracle怎么写IF语句?如果在SQL语句中使用。使用decode或case whendecode的用法是decode(ABC,50,“a”,“B”)case when的用法是case when A
oracle怎么写IF语句?
如果在SQL语句中使用。
使用decode或case when
decode的用法是
decode(ABC,50,“a”,“B”)
case when的用法是
case when ABC=50,则“a”element“B”end
如果它在存储过程中,则它是一个简单的if/else
SQL语句,它是
Select
ABC,decode(ABC,50,“a”,“B”)
来自
表