Who has the lowest earnings that has a rank smaller than 2?
CREATE TABLE table_name_38 (earnings__ INTEGER, rank INTEGER)
SELECT MIN(earnings__) AS $__ FROM table_name_38 WHERE rank < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (earnings__ INTEGER, rank INTEGER) Question: Who has the lowest earnings that has a rank smaller than 2? [/INST] SELECT MIN(earnings__) AS $__ FROM table_name_38 WHERE rank < 2 </s>