Here is my query
Select max(sale) as MaximumSales, cID From( Select SUM(totalPerSale) as sale,CustomerID as cID From( Select Quantity, UnitPrice, Quantity*Un