Which Earnings ($) is the lowest one that has a Rank smaller than 1?
CREATE TABLE table_name_12 (earnings___ INTEGER, rank INTEGER)
SELECT MIN(earnings___) AS $__ FROM table_name_12 WHERE rank < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (earnings___ INTEGER, rank INTEGER) Question: Which Earnings ($) is the lowest one that has a Rank smaller than 1? [/INST] SELECT MIN(earnings___) AS $__ FROM table_name_12 WHERE rank < 1 </s>