Task: Text to Code
Input (English): Step 1: For each row in Employees table, find the corresponding rows in Documents_to_be_Destroyed table.
Step 2: find the number of rows of each value of Destroyed_by_Employee_ID in the results of step 1.
Step 3: find Employee_ID in the results of step 1 whose corresponding value in step 2 is greater than or equals 1
Output (English): SELECT T1.Employee_ID FROM Employees AS T1 JOIN Documents_to_be_Destroyed AS T2 ON T1.Employee_ID = T2.Destroyed_by_Employee_ID GROUP BY T2.Destroyed_by_Employee_ID HAVING Count ( * ) > = 1