Table 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?
SQL: SELECT AVG(goals) FROM table_name_88 WHERE rank < 8 AND matches = 261