What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?
CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER)
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER) Question: What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? [/INST] SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 ROWS </s>