摘要: 五.聚合函数 32.查询总数: select count(1) from user; 33.查询年龄总和 select sum(age) as 总和 from user; 34.查询年龄平均值 select avg(age) as 平均年龄 from user; 35.查询年龄中最大值 select 阅读全文