user: ### NOW ANSWER:
Question: What is the average goals for jimmy greaves, and matches more than 516?
Columns: ['Rank', 'Name', 'Years', 'Matches', 'Goals']
Types: ['real', 'text', 'text', 'real', 'real']
Sample row: [1.0, 'Jimmy Greaves', '1957–1971', 516.0, 357.0]
SQL:

assistant: SELECT AVG("Goals") FROM "Table" WHERE "Name" = 'jimmy greaves' AND "Matches" > 516.0;