我不知道你为什么整这么复杂,突然一看你的解释我都以为是个多么难得题目 select cust_name, b.order_num, sum(quantity*item_price) OrderTotal from Customers a join Orders b on a.cust_id = b.cust_id join OrderItems c on c.order_num =b.order_num group by cust_name,b.order_num order by cust_name,b.order_num 这样不就行了么
4

相关推荐

SHC2:春招先狠狠投递,然后你看看能不能申请香港新加坡的一年制master,花不了多少钱,或者现在赶紧去刷一段实习。HR专业考研没必要
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务