题解

先对顾客ID进行排序,再按订单日期倒序排列

select cust_id, order_num from Orders order by cust_id, order_date desc

注意:多个字段排序,字段直接用逗号分隔;默认不写或asc为升序,desc为倒序