How many ranks are for Switzerland with more than 2 total medals?
CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR)
SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR) Question: How many ranks are for Switzerland with more than 2 total medals? [/INST] SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2 </s>