CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR(255), matches VARCHAR(255))
What is the average goals for Jimmy Greaves, and matches more than 516?
    
SQL: SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516