题解 | 查找GPA最高值
查找GPA最高值
https://www.nowcoder.com/practice/4e22fc5dbd16414fb2c7683557a84a4f
select round(max(gpa),1) 'gpa' from user_profile where university='复旦大学';
round(x,y) x保留y位小数
max(column) 取某字段最大值
查找GPA最高值
https://www.nowcoder.com/practice/4e22fc5dbd16414fb2c7683557a84a4f
select round(max(gpa),1) 'gpa' from user_profile where university='复旦大学';
round(x,y) x保留y位小数
max(column) 取某字段最大值
相关推荐