题解 | #查找后降序排列#
查找后降序排列
https://www.nowcoder.com/practice/d023ae0191e0414ca1b19451099a39f1
select device_id,gpa,age
from user_profile
order by gpa,age DESC
两个列都需要降序的时候,需要每个列名后面都加上降序字符。升序默认的,不用加
查找后降序排列
https://www.nowcoder.com/practice/d023ae0191e0414ca1b19451099a39f1
select device_id,gpa,age
from user_profile
order by gpa,age DESC
两个列都需要降序的时候,需要每个列名后面都加上降序字符。升序默认的,不用加
相关推荐