What is the average last yr with an l plyf less than 0?
CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER)
SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER) Question: What is the average last yr with an l plyf less than 0? [/INST] SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0 </s>