Show the location codes with at least 3 documents.
CREATE TABLE Document_locations (location_code VARCHAR)
SELECT location_code FROM Document_locations GROUP BY location_code HAVING COUNT(*) >= 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Document_locations (location_code VARCHAR) Question: Show the location codes with at least 3 documents. [/INST] SELECT location_code FROM Document_locations GROUP BY location_code HAVING COUNT(*) >= 3 </s>