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_94 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR)
  ### Question:
  How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?
  ### Answer:
  SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = "gabon" AND rank < 17