CREATE TABLE table_41597 ("Rank" FLOAT, "Name" CLOB, "Years" CLOB, "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'