How many goals on average had 644 matches and a rank bigger than 3?
CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR) Question: How many goals on average had 644 matches and a rank bigger than 3? [/INST] SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3 </s>