Name the average earnings for rank of 3 and wins less than 3
CREATE TABLE table_name_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR)
SELECT AVG(earnings___) AS $__ FROM table_name_34 WHERE rank = 3 AND wins < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR) Question: Name the average earnings for rank of 3 and wins less than 3 [/INST] SELECT AVG(earnings___) AS $__ FROM table_name_34 WHERE rank = 3 AND wins < 3 </s>