Task: Text to Code
Input (English): SQL: SELECT customer_id , customer_details FROM Customers GROUP BY customer_id HAVING Count ( * ) > = 3
Feedback: Replace customers table with customer events table in step 1.
Output (English): 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