What is the id of the customer with at least 3 events?
select ( t1.customer_id ) from customers as t1 join customer_events as t2 on t1.customer_id = t2.customer_id group by t1.customer_id having count ( * ) > = 3
What are the details for the customer with at least 3 events?
select t1.customer_details from customers as t1 join customer_events as t2 on t1.customer_id = t2.customer_id group by t1.customer_id having count ( * ) > = 3