CREATE TABLE table_45957 ("Rider" TEXT, "Manufacturer" TEXT, "Laps" FLOAT, "Time" TEXT, "Grid" FLOAT)

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