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

What is the average total value for Spain?
SELECT AVG("Total") FROM table_13739 WHERE "Nation" = 'spain'
SELECT AVG("Total") FROM "table_13739" WHERE "Nation" = 'spain'