CREATE TABLE table_name_8 (laps NUMBER, grid VARCHAR2, time VARCHAR2)

What was the number of Laps with a Grid of more than 3 and Time of 39:24.967?
SELECT MIN(laps) FROM table_name_8 WHERE grid > 3 AND time = "39:24.967"
SELECT MIN("laps") FROM "table_name_8" WHERE "39:24.967" = "time" AND "grid" > 3