How many win total which has the rank smaller than 3 and events smaller than 22
CREATE TABLE table_name_71 (wins VARCHAR, events VARCHAR, rank VARCHAR)
SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND rank < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (wins VARCHAR, events VARCHAR, rank VARCHAR) Question: How many win total which has the rank smaller than 3 and events smaller than 22 [/INST] SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND rank < 3 </s>