select count(1) from 表名;---查询总记录,1指的是主键
select sum(列名) from 表名;--查询总工资
select max(列名) from 表名;--查询最大工资
select min(列名) from 表名;--查询最小工资
select avg(列名) from 表名;--查询平均工资
一.语法select count(1) from 表名;---查询总记录,1指的是主键select sum(列名) from 表名;--查询总工资select max(列名) from 表名;--查询最大工资select min(列名) from 表名;--查询最小工资select avg(列名) from 表名;--查询平均工资二.范例...