What is the sum of Total when rank is 2?
CREATE TABLE table_name_46 (total INTEGER, rank VARCHAR)
SELECT SUM(total) FROM table_name_46 WHERE rank = "2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (total INTEGER, rank VARCHAR) Question: What is the sum of Total when rank is 2? [/INST] SELECT SUM(total) FROM table_name_46 WHERE rank = "2" </s>