Which Gold has a Nation of sri lanka, and a Silver smaller than 10?
CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_39 WHERE nation = "sri lanka" AND silver < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: Which Gold has a Nation of sri lanka, and a Silver smaller than 10? [/INST] SELECT AVG(gold) FROM table_name_39 WHERE nation = "sri lanka" AND silver < 10 </s>