CREATE TABLE table_name_31 (year INT, extra VARCHAR)

Tell me the sum of year for extra of junior team competition
SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"
SELECT SUM("year") FROM "table_name_31" WHERE "extra" = "junior team competition"