What is the Average Finals Goals if the Total Goals is less than 1?
CREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER)
SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER) Question: What is the Average Finals Goals if the Total Goals is less than 1? [/INST] SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1 </s>