CREATE TABLE table_5498 ("Rank" TEXT, "Nation" TEXT, "Gold" FLOAT, "Silver" FLOAT, "Bronze" FLOAT, "Total" FLOAT)

What is the average gold with a bronze smaller than 5 with a rank of 8?
SELECT AVG("Gold") FROM table_5498 WHERE "Bronze" < '5' AND "Rank" = '8'
SELECT AVG("Gold") FROM "table_5498" WHERE "Bronze" < '5' AND "Rank" = '8'