题解 | #查找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
查找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
相关推荐
nsjbambmbs:简历一写就是微服务,一问实际就俩服务,简历一写就是高并发一问 QPS 个位数既然写了微服务,那我出系统设计题场景题也没啥问题吧