Instruct: What is the sum of caps for players with less than 9 goals ranked below 8?
Output: SELECT SUM Caps FROM table WHERE Goals < 9 AND Rank > 8