Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
CREATE TABLE table_name_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_91 WHERE events = 22 AND rank < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR) Question: Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)? [/INST] SELECT MIN(earnings___) AS $__ FROM table_name_91 WHERE events = 22 AND rank < 4 </s>