user: Question: How many golds were there in a game that has 17 bronze and a total of 31?
Columns: ['Games', 'Gold', 'Silver', 'Bronze', 'Total', 'Rank']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['1951 New Delhi', '8', '6', '2', '16', '3']
SQL:

assistant: SELECT "Gold" FROM "Table" WHERE "Bronze" = '17' AND "Total" = '31';