Which Events has Earnings of $113,259, and an Average larger than 229.5?
CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR)
SELECT MAX(events) FROM table_name_22 WHERE earnings = "$113,259" AND average > 229.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR) Question: Which Events has Earnings of $113,259, and an Average larger than 229.5? [/INST] SELECT MAX(events) FROM table_name_22 WHERE earnings = "$113,259" AND average > 229.5 </s>