Schema: 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?
SQL: SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = "gabon" AND rank < 17