CREATE TABLE table_45958 ("Rider" CLOB, "Manufacturer" CLOB, "Laps" FLOAT, "Time" CLOB, "Grid" FLOAT)

Which Grid has a Rider of randy de puniet, and Laps smaller than 24?
SELECT MAX("Grid") FROM table_45958 WHERE "Rider" = 'randy de puniet' AND "Laps" < '24'
SELECT MAX("Grid") FROM "table_45958" WHERE "Laps" < '24' AND "Rider" = 'randy de puniet'