What's the smallest amount of earnings when the wins are less than 72 and the rank is more than 3?
CREATE TABLE table_name_87 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_87 WHERE wins < 72 AND rank > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR) Question: What's the smallest amount of earnings when the wins are less than 72 and the rank is more than 3? [/INST] SELECT MIN(earnings___) AS $__ FROM table_name_87 WHERE wins < 72 AND rank > 3 </s>