What is the number of earning for more than 2 wins and less than 25 events?
CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)
SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR) Question: What is the number of earning for more than 2 wins and less than 25 events? [/INST] SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25 </s>