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