Write SQL query to solve given problem: What is the total sales amount of all discontinued products?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT SUM(T2.UnitPrice * T2.Quantity) FROM Products AS T1 INNER JOIN `Order Details` AS T2 ON T1.ProductID = T2.ProductID WHERE T1.Discontinued = 1