CREATE TABLE table_name_13 (goals INT, apps VARCHAR, rank VARCHAR)

What is the average number of goals of the player with 234 apps and a rank above 8?
SELECT AVG(goals) FROM table_name_13 WHERE apps = 234 AND rank < 8
SELECT AVG("goals") FROM "table_name_13" WHERE "apps" = 234 AND "rank" < 8