What is the mean number of goals when the rank's less than 8 and there are 261 matches?
CREATE TABLE table_name_88 (goals INTEGER, rank VARCHAR, matches VARCHAR)
SELECT AVG(goals) FROM table_name_88 WHERE rank < 8 AND matches = 261
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (goals INTEGER, rank VARCHAR, matches VARCHAR) Question: What is the mean number of goals when the rank's less than 8 and there are 261 matches? [/INST] SELECT AVG(goals) FROM table_name_88 WHERE rank < 8 AND matches = 261 </s>