Instruct: What is the highest number of gold medals for the team ranked 7 with less than 3 bronze?
Output: SELECT MAX Gold FROM table WHERE Rank = 7 AND Bronze < 3