Tell me the sum of year for extra of junior team competition
CREATE TABLE table_name_31 (year INTEGER, extra VARCHAR)
SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (year INTEGER, extra VARCHAR) Question: Tell me the sum of year for extra of junior team competition [/INST] SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition" </s>