select customer_id, case when latest_place_order_date is not null then 1 else 0 end as if_placed_order from customers_info