Which districts have at least two addresses?
CREATE TABLE address (district VARCHAR)
SELECT district FROM address GROUP BY district HAVING COUNT(*) >= 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE address (district VARCHAR) Question: Which districts have at least two addresses? [/INST] SELECT district FROM address GROUP BY district HAVING COUNT(*) >= 2 </s>