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

Which Grid has Laps smaller than 24, and a Time of retirement?
SELECT MIN(grid) FROM table_name_64 WHERE laps < 24 AND time = "retirement"
SELECT MIN("grid") FROM "table_name_64" WHERE "laps" < 24 AND "retirement" = "time"