题解 | #查找GPA最高值#
查找GPA最高值
https://www.nowcoder.com/practice/4e22fc5dbd16414fb2c7683557a84a4f
select ROUND(gpa,1) from user_profile where university="复旦大学" order by gpa DESC limit 1 select round(max(gpa),1) from user_profile where university="复旦大学" 最大值 1)降序取第一,limit 1,DESC 2)max函数 四舍五入函数-round(两个参数) round(要四舍五入的数字,保留的小数位)