xxx

检索每个顾客的名称和所有的订单号(一)

https://www.nowcoder.com/practice/0a876520bd314505b787648e331f5e81

//

select
    cust_name,
    order_num
from
    Customers as a
    inner join Orders as b on a.cust_id = b.cust_id
order by cust_name asc

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务