CREATE TABLE table_name_25 (grid NUMBER, time_retired VARCHAR2, laps VARCHAR2)

What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9
SELECT SUM("grid") FROM "table_name_25" WHERE "engine" = "time_retired" AND "laps" < 9