user: ### NOW ANSWER:
Question: What is the average total value for Spain?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'Hungary', 6.0, 2.0, 8.0, 16.0]
SQL:

assistant: SELECT AVG("Total") FROM "Table" WHERE "Nation" = 'Spain';