不加DISTINCT就会输出很多重复的,求大神解答 select distinct C.cust_name, O.order_num, O.OrderTotal from Customers inner join ( select Orders.order_num,cust_id, quantity * item_price as OrderTotal from Orders inner join OrderItems where Orders.order_num = OrderItems.order_num ) as O,Customers as C where C.cust_id = O....