题解 | #查找后降序排列#

查找后降序排列

http://www.nowcoder.com/practice/d023ae0191e0414ca1b19451099a39f1

查找后按照 gpa、age 降序排列

SELECT
    t.device_id,
    t.gpa,
    t.age
FROM
   user_profile t
ORDER BY
   t.gpa DESC, t.age DESC
;
全部评论

相关推荐

评论
1
收藏
分享

创作者周榜

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