题解 | 查找GPA最高值
查找GPA最高值
https://www.nowcoder.com/practice/4e22fc5dbd16414fb2c7683557a84a4f
select gpa from ( select gpa, rank()over(partition by university order by gpa desc) rk from user_profile where university='复旦大学' ) newuser1 where newuser1.rk = 1
新手,没想到窗口函数之外的办法