Question: How many bronze medals did the nation have that had less than 3 silver, 5 gold and ranked better than 31?
SQL: SELECT SUM Bronze FROM table WHERE Silver < 3 AND Rank < 31 AND Gold = 5