text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_83 (caps INTEGER, goals VARCHAR, rank VARCHAR)
  ### 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