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