What is the total of rank when silver is more than 1, gold is 2, and total is more than 4?
CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the total of rank when silver is more than 1, gold is 2, and total is more than 4? [/INST] SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4 </s>