How many totals have golds of 3, silvers of 3, and bronzes under 3?
CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) Question: How many totals have golds of 3, silvers of 3, and bronzes under 3? [/INST] SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "3" </s>