摘要: 常用的聚合函数有: 平均值:avg() 取个数:count() 取总和:sum() 取最大值:max() 取最小值:min() 用法:select 聚合函数 from 表名 group by 字段名; 例如: select * from student; select count(ssex) fro 阅读全文
posted @ 2018-04-26 20:29 wfc139 阅读(129) 评论(0) 推荐(0) 编辑