orace 分析函数

select x.num, sum(x.num) over () as aaa , Round((x.num/sum(x.num) over ()), 2) as vv  
from tableAA x


http://www.akadia.com/services/ora_analytic_functions.html
http://www.psoug.org/reference/analytic_functions.html

你可能感兴趣的:(html,sql)