SELECT DISTINCT customer_id FROM Customer_Orders WHERE order_date  >  (SELECT min(order_date) FROM Customer_Orders WHERE order_status_code  =  "Cancelled")
What are the distinct ids of customers who made an order after any order that was Cancelled?
SELECT DISTINCT customer_id FROM Customer_Orders WHERE order_date > ( SELECT min ( order_date ) FROM Customer_Orders WHERE order_status_code = `` Cancelled '' )
select distinct customer_id from customer_orders where order_date > ( select min ( order_date ) from customer_orders where order_status_code = value )
What are the distinct ids of customers who made an order after any order that was Cancelled ?