What is the sum of gold values that have bronze values over 0 and totals under 2?
CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR) Question: What is the sum of gold values that have bronze values over 0 and totals under 2? [/INST] SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 2 </s>