數據庫(10)分組函數

10.1 分組函數 分組函數一共五個 count 計數 sum 求和 max最大值 min最小值 avg 平均值 記住:分組函數都是對「某一組數據進行的」。 找出工資總和? select sum(sal) from emp; 找出最高工資? select max(sal) from emp; 找出最低工資? select min(sal) from emp; 找出平均工資? select avg(
相關文章
相關標籤/搜索