What is the latest first year with 0 total medals and over 0 golds?
CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR)
SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR) Question: What is the latest first year with 0 total medals and over 0 golds? [/INST] SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0 </s>