How many wins did he have when he played under 2 events?
CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER)
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER) Question: How many wins did he have when he played under 2 events? [/INST] SELECT COUNT(wins) FROM table_name_22 WHERE events < 2 </s>