Oracle 常用SQL函数[10]
[入库:2005年8月18日] [更新:2007年3月24日]
条件表达式,用case表达式或decode实现条件逻辑
case表达式
case expr when comparison_expr1 then return_expr1
[when comparison_expr2 then return_expr2
when comparison_exprn then return_exprn
else else_expr]
end
decode函数
decode(col|expression, search1, result1
[, search2,result2,...,]
[, default])
分组函数:
avg (distinct|all|n)
count (distinct|all|expr|*)
max (distinct|all|expr)
min (distinct|all|expr)
stddev (distinct|all|n)
sum (distinct|all|n)
本文关键:Oracle 常用SQL函数
本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)