Instruct: How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?
Output: SELECT SUM Gold FROM table WHERE Total < 7 AND Nation = gabon AND Rank < 17