the sum of Events that has a Rank larger than 5 is 3
CREATE TABLE table_name_97 (events INTEGER, rank INTEGER)
SELECT SUM(events) FROM table_name_97 WHERE rank > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (events INTEGER, rank INTEGER) Question: the sum of Events that has a Rank larger than 5 is 3 [/INST] SELECT SUM(events) FROM table_name_97 WHERE rank > 5 </s>