本文共 167 字,大约阅读时间需要 1 分钟。
使用round 和 avg函数
select round(AVG(grade),2) AS avgGrade from table;
AVG(grade)求得平均数
转载地址:http://kwamb.baihongyu.com/