What's the average year lebanon won?
CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR)
SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR) Question: What's the average year lebanon won? [/INST] SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon" </s>