What is the total profit all transactions with product ID 827?
Profit = MULTIPLY(SUBTRACT(ListPrice, StandardCost) Quantity))
SELECT SUM((T1.ListPrice - T1.StandardCost) * T2.Quantity) FROM Product AS T1 INNER JOIN TransactionHistory AS T2 ON T1.ProductID = T2.ProductID WHERE T1.ProductID = 827