What the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals one?
Rank Gold Silver Bronze Total
Water polo at the Pan American Games
12420066
text real real real real
2-12420066-2
Medal table
Medal table
1 3 1 0 4
2 1 3 0 4
3 0 0 3 3
4 0 0 1 1
Total 4 4 4 12
SELECT MIN Gold FROM table WHERE Rank = total AND Bronze > 4
total 4