CREATE TABLE table_52299 ("Driver" TEXT, "Constructor" TEXT, "Laps" FLOAT, "Time/Retired" TEXT, "Grid" FLOAT)

I want the driver with Laps larger than 16 with a ferrari and grid less than 15
SELECT "Driver" FROM table_52299 WHERE "Laps" > '16' AND "Constructor" = 'ferrari' AND "Grid" < '15'
SELECT "Driver" FROM "table_52299" WHERE "Constructor" = 'ferrari' AND "Grid" < '15' AND "Laps" > '16'