user: ### NOW ANSWER:
Question: What is the sum of rank with years  1996–2012 and apps greater than 340?
Columns: ['Rank', 'Name', 'Years', 'Goals', 'Apps']
Types: ['real', 'text', 'text', 'real', 'real']
Sample row: [1.0, 'Silvio Piola', '1929–1954', 274.0, 537.0]
SQL:

assistant: SELECT SUM("Rank") FROM "Table" WHERE "Years" = '1996–2012' AND "Apps" > 340.0;