标签:均值 最小 rom img select sele http employees employee
SELECT SUM(salary) FROM employees;
SELECT AVG(salary) FROM employees;
SELECT MAX(salary) FROM employees;
SELECT MIN(salary) FROM employees;
SELECT COUNT(salary) FROM employees;
4.参数支持类型
4.1 sum、avg 一般用于处理数值型
max、min、count 可以处理任何类型。
4.2 是否忽略 null 值。
标签:均值 最小 rom img select sele http employees employee
原文地址:https://www.cnblogs.com/xiao-yuge/p/12569361.html