CREATE TABLE table_41597 ("Rank" FLOAT, "Name" TEXT, "Years" TEXT, "Matches" FLOAT, "Goals" FLOAT)

What is the average goals for Jimmy Greaves, and matches more than 516?
SELECT AVG("Goals") FROM table_41597 WHERE "Name" = 'jimmy greaves' AND "Matches" > '516'
SELECT AVG("Goals") FROM "table_41597" WHERE "Matches" > '516' AND "Name" = 'jimmy greaves'