题解 | #对顾客ID和日期排序#
对顾客ID和日期排序
https://www.nowcoder.com/practice/fa4eb4880d124a4ead7a9b025fe75b70
select cust_id,order_num from Orders order by cust_id,order_date desc; #sql中多字段排序,多个字段之间使用逗号隔开
对顾客ID和日期排序
https://www.nowcoder.com/practice/fa4eb4880d124a4ead7a9b025fe75b70
select cust_id,order_num from Orders order by cust_id,order_date desc; #sql中多字段排序,多个字段之间使用逗号隔开
相关推荐