excel數(shù)據(jù)庫函數(shù)怎么用 計算數(shù)據(jù)庫的和的函數(shù)是()?
計算數(shù)據(jù)庫的和的函數(shù)是()?計算數(shù)據(jù)庫總和的函數(shù)是sum,計算數(shù)據(jù)平均值的函數(shù)是AVG。工具:Oracle10g步驟:1。數(shù)據(jù)庫中有如下EMP表:2。根據(jù)deptno找出每個deptno中SAL的總和
計算數(shù)據(jù)庫的和的函數(shù)是()?
計算數(shù)據(jù)庫總和的函數(shù)是sum,計算數(shù)據(jù)平均值的函數(shù)是AVG。工具:Oracle10g步驟:1。數(shù)據(jù)庫中有如下EMP表:2。根據(jù)deptno找出每個deptno中SAL的總和??梢允褂靡韵抡Z句:select deptno,sum(SAL)from EMP group by deptno3,query result:4。根據(jù)deptno求每個deptno中SAL的平均值??梢允褂靡韵抡Z句:select deptno,AVG(SAL)from EMP group by deptno5,query result: