CREATE TABLE table_name_88 (goals NUMBER, rank VARCHAR2, matches VARCHAR2)

What is the mean number of goals when the rank's less than 8 and there are 261 matches?
SELECT AVG(goals) FROM table_name_88 WHERE rank < 8 AND matches = 261
SELECT AVG("goals") FROM "table_name_88" WHERE "matches" = 261 AND "rank" < 8