What is the sum of rank with years  1996–2012 and apps greater than 340?
CREATE TABLE table_name_15 (rank INTEGER, years VARCHAR, apps VARCHAR)
SELECT SUM(rank) FROM table_name_15 WHERE years = "1996–2012" AND apps > 340
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (rank INTEGER, years VARCHAR, apps VARCHAR) Question: What is the sum of rank with years  1996–2012 and apps greater than 340? [/INST] SELECT SUM(rank) FROM table_name_15 WHERE years = "1996–2012" AND apps > 340 </s>