CREATE TABLE table_name_51 (avg_game NUMBER, goals VARCHAR2, rank VARCHAR2)

What is the average avg/game of the player with 97 goals and a rank above 7?
SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7
SELECT AVG("avg_game") FROM "table_name_51" WHERE "goals" = 97 AND "rank" < 7