Write SQL query to solve given problem: Please list the IDs of the orders with a product whose production is not continuous.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T2.OrderID FROM Products AS T1 INNER JOIN `Order Details` AS T2 ON T1.ProductID = T2.ProductID WHERE T1.Discontinued = 1