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