What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?
CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR)
SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR) Question: What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21? [/INST] SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 21 </s>