List all open years when at least two shops are opened.
CREATE TABLE branch (open_year VARCHAR)
SELECT open_year FROM branch GROUP BY open_year HAVING COUNT(*) >= 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE branch (open_year VARCHAR) Question: List all open years when at least two shops are opened. [/INST] SELECT open_year FROM branch GROUP BY open_year HAVING COUNT(*) >= 2 </s>