Task: Text to Code
Input (English): SQL: SELECT DISTINCT T1.customer_id FROM Customers AS T1 JOIN Customer_Orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_date < "Cancelled"
Feedback: Remove last part and make sure orders are reordered after for those order status code equals Cancelled .
Output (English): SELECT DISTINCT customer_id FROM Customer_Orders WHERE order_date  >  (SELECT min(order_date) FROM Customer_Orders WHERE order_status_code  =  "Cancelled")