CREATE TABLE table_12514 ("Rank" FLOAT, "Name" TEXT, "Team" TEXT, "Goals" FLOAT, "Appearances" FLOAT, "Minutes played" TEXT)

What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
SELECT SUM("Goals") FROM table_12514 WHERE "Rank" < '10' AND "Name" = 'nicolas anelka' AND "Appearances" > '9'
SELECT SUM("Goals") FROM "table_12514" WHERE "Appearances" > '9' AND "Name" = 'nicolas anelka' AND "Rank" < '10'