What was Italy's highest total when there were less than 4 bronze and 1 gold?
CREATE TABLE table_name_29 (total INTEGER, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(total) FROM table_name_29 WHERE bronze < 4 AND gold = 1 AND nation = "italy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (total INTEGER, nation VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What was Italy's highest total when there were less than 4 bronze and 1 gold? [/INST] SELECT MAX(total) FROM table_name_29 WHERE bronze < 4 AND gold = 1 AND nation = "italy" </s>