How many years did Peter Mikkelsen win the Mens Singles?
CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR)
SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = "Peter Mikkelsen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR) Question: How many years did Peter Mikkelsen win the Mens Singles? [/INST] SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = "Peter Mikkelsen" </s>