What is the average avg/game of the player with 97 goals and a rank above 7?
CREATE TABLE table_name_51 (avg_game INTEGER, goals VARCHAR, rank VARCHAR)
SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (avg_game INTEGER, goals VARCHAR, rank VARCHAR) Question: What is the average avg/game of the player with 97 goals and a rank above 7? [/INST] SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7 </s>