What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?
CREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT total FROM table_name_2 WHERE gold = 2 AND nation = "brazil (bra)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, nation VARCHAR) Question: What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation? [/INST] SELECT total FROM table_name_2 WHERE gold = 2 AND nation = "brazil (bra)" </s>