Which is the highest Gold that has a total smaller than 4 and a silver of 1, and a bronze smaller than 2, and a rank of 13?
SELECT MAX Gold FROM table WHERE Total < 4 AND Silver = 1 AND Bronze < 2 AND Rank = 13