CREATE TABLE table_name_8 (gold VARCHAR2, bronze VARCHAR2, total VARCHAR2)

How many golds were there in a game that has 17 bronze and a total of 31?
SELECT gold FROM table_name_8 WHERE bronze = "17" AND total = "31"
SELECT "gold" FROM "table_name_8" WHERE "17" = "bronze" AND "31" = "total"