text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR, matches VARCHAR)
  ### Question:
  What is the average goals for Jimmy Greaves, and matches more than 516?
  ### Answer:
  SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516