Database: local_govt_and_lot
Question: What are the id and details of the customers who have at least 3 events?
SQL:
SELECT T1.customer_id ,  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