Oracle中的SUM用法講解?
sum是求和函數(shù)的聚合函數(shù)。用法分兩種情況,一種是select sum(col) from table。一種是select col1,sum(col2) from table group by col1。
Oracle中的SUM用法講解?
sum是求和函數(shù)的聚合函數(shù)。用法分兩種情況,一種是select sum(col) from table。一種是select col1,sum(col2) from table group by col1。