题解 | 查找GPA最高值
查找GPA最高值
https://www.nowcoder.com/practice/4e22fc5dbd16414fb2c7683557a84a4f
# select gpa from user_profile
# where university='复旦大学'
# and gpa= (select max(gpa) from user_profile where university='复旦大学');
select round(max(gpa),1) as gpa from user_profile
where university = '复旦大学';
- 注意取一位小数
- 学会用as,别瞎搞嵌套
TCL公司福利 729人发布
