What is the average total value for Spain?
CREATE TABLE table_name_58 (total INTEGER, nation VARCHAR)
SELECT AVG(total) FROM table_name_58 WHERE nation = "spain"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (total INTEGER, nation VARCHAR) Question: What is the average total value for Spain? [/INST] SELECT AVG(total) FROM table_name_58 WHERE nation = "spain" </s>