Context: 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?
Answer: SELECT SUM(rank) FROM table_name_15 WHERE years = "1996–2012" AND apps > 340