题解 | 返回顾客名称和相关订单号以及每个订单的总价

select s1.cust_name,s3.order_num,
quantity*item_price as OrderTotal
from Customers s1,Orders s2,OrderItems s3
where s1.cust_id=s2.cust_id and s2.order_num=s3.order_num
order by cust_name

全部评论

相关推荐

点赞 评论 收藏
分享
牛客83700679...:简历抄别人的,然后再投,有反馈就是简历不行,没反馈就是学历不行,多投多改只要技术不差机会总会有的
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-02 15:39
希望奇迹发生的布莱克...:真的是 现在卷实习就是没苦硬吃
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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