Task: Text to Code
Input (English): Step 1: find the number of rows of each value of Event_ID in Events table.
Step 2: find Event_ID, Event_Details in Events table whose corresponding value in step 1 is greater than 1
Output (English): SELECT Event_ID , Event_Details FROM Events GROUP BY Event_ID HAVING Count ( * ) > 1