Task: Text to Code
Input (English): SQL: SELECT T2.Location_Code FROM Ref_Locations AS T1 JOIN Document_Locations AS T2 ON T1.Location_Code = T2.Location_Code GROUP BY T1.Location_Code HAVING Count ( * ) > = 3
Feedback: replace Ref Locations's location code with Document Locations's location code
Output (English): SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*)  >=  3