Show all distinct customer ids.
select distinct customer_id from customer_orders
When was the first time some orders were cancelled?
select min(order_date) from customer_orders where order_status_code = "Cancelled"
Find the ids of all distinct customers who made orders after this date.
select distinct customer_id from customer_orders where order_date > (select min(order_date) from customer_orders where order_status_code = "Cancelled")