Name the sum of year for 2nd position for junior race
CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR)
SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR) Question: Name the sum of year for 2nd position for junior race [/INST] SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race" </s>