What is the total number of earnings for golfers who have 28 events and more than 2 wins?
CREATE TABLE table_name_94 (earnings___ VARCHAR, events VARCHAR, wins VARCHAR)
SELECT COUNT(earnings___) AS $__ FROM table_name_94 WHERE events = 28 AND wins > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (earnings___ VARCHAR, events VARCHAR, wins VARCHAR) Question: What is the total number of earnings for golfers who have 28 events and more than 2 wins? [/INST] SELECT COUNT(earnings___) AS $__ FROM table_name_94 WHERE events = 28 AND wins > 2 </s>