question: What is the sum of caps for players with less than 9 goals ranked below 8?
answer: SELECT SUM(caps) FROM table_name_83 WHERE goals < 9 AND rank > 8
context: CREATE TABLE table_name_83 (caps INTEGER, goals VARCHAR, rank VARCHAR)