How many totals does cork have whose rank is larger than 2?
CREATE TABLE table_name_27 (total INTEGER, county VARCHAR, rank VARCHAR)
SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (total INTEGER, county VARCHAR, rank VARCHAR) Question: How many totals does cork have whose rank is larger than 2? [/INST] SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2 </s>