What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals? [/INST] SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4 </s>