What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2?
CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_45 WHERE nation = "west germany" AND gold > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? [/INST] SELECT SUM(total) FROM table_name_45 WHERE nation = "west germany" AND gold > 2 </s>