select c.cust_name, o.order_num, sum(oi.item_price * oi.quantity) OrderTotal from Orders o inner join Customers c on c.cust_id = o.cust_id inner join OrderItems oi on o.order_num = oi.order_num group by o.order_num, c.cust_name order by cust_name asc, o.order_num ...