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

What years played did the player with a rank under 10, more than 271 matches, and 152 goals have?
SELECT "Years" FROM table_40848 WHERE "Rank" < '10' AND "Matches" > '271' AND "Goals" = '152'
SELECT "Years" FROM "table_40848" WHERE "Goals" = '152' AND "Matches" > '271' AND "Rank" < '10'