题解 | #查找GPA最高值#

查找GPA最高值

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

select
max(gpa ) AS gpa
from user_profile
WHERE
university='复旦大学' 

另一种写法是select gpa from user_profile where university='复旦大学' order by gpa desc limit 1

全部评论

相关推荐

04-06 11:24
已编辑
太原学院 C++
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务