这些函数操作的对象是一组数据,作用在多行数据上返回一个结果
求和
select sum(列名) from book where 列名 = 值;
平均值
select sum(列名) from book where 列名 = 值;
计数
select count(列名) from book where 列名 = 值;
select sum(列名) from book where 列名 = 值;
select sum(列名) from book where 列名 = 值;
select count(列名) from book where 列名 = 值;