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