题解 | 查找GPA最高值

查找GPA最高值

https://www.nowcoder.com/practice/4e22fc5dbd16414fb2c7683557a84a4f

select gpa
from user_profile
where university='复旦大学'
order by gpa desc
limit 0,1;

# 第二种
select max(gpa) gpa
from user_profile
where university='复旦大学'

全部评论

相关推荐

点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
11-19 14:56
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务