CREATE TABLE table_54794 ("Driver" CLOB, "Constructor" CLOB, "Laps" FLOAT, "Time/Retired" CLOB, "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'