What's the rank average when the gold medals are less than 0?
CREATE TABLE table_name_41 (rank INTEGER, gold INTEGER)
SELECT AVG(rank) FROM table_name_41 WHERE gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (rank INTEGER, gold INTEGER) Question: What's the rank average when the gold medals are less than 0? [/INST] SELECT AVG(rank) FROM table_name_41 WHERE gold < 0 </s>