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

I want the driver for Laps more than 8 and ferrari with Grid of 8
SELECT "Driver" FROM table_54794 WHERE "Laps" > '8' AND "Constructor" = 'ferrari' AND "Grid" = '8'
SELECT "Driver" FROM "table_54794" WHERE "Constructor" = 'ferrari' AND "Grid" = '8' AND "Laps" > '8'