What is the average earnings of the player from the United States with a win smaller than 2 and a rank larger than 3?
CREATE TABLE table_name_96 (earnings___ INTEGER, rank VARCHAR, country VARCHAR, wins VARCHAR)
SELECT AVG(earnings___) AS $__ FROM table_name_96 WHERE country = "united states" AND wins < 2 AND rank > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (earnings___ INTEGER, rank VARCHAR, country VARCHAR, wins VARCHAR) Question: What is the average earnings of the player from the United States with a win smaller than 2 and a rank larger than 3? [/INST] SELECT AVG(earnings___) AS $__ FROM table_name_96 WHERE country = "united states" AND wins < 2 AND rank > 3 </s>