流程控制函数

if(表达式,表达式1,表达式2)如果表达式成立就输出表达式1否则输出表达式2

case   变量或者表达式  when   常量  then 值1  when   常量2  then 值2     else   值n  end

case   when  条件1 then 值1       when  条件2 then 值2  else  值 n  end  

 

posted @ 2021-04-13 13:22  Dasn  阅读(64)  评论(0)    收藏  举报