CREATE TABLE table_40845 ("Rider" CLOB, "Bike" CLOB, "Laps" FLOAT, "Time" CLOB, "Grid" FLOAT)

What is the smallest grid when the time is +8.051 and there were less than 23 laps?
SELECT MIN("Grid") FROM table_40845 WHERE "Time" = '+8.051' AND "Laps" < '23'
SELECT MIN("Grid") FROM "table_40845" WHERE "Laps" < '23' AND "Time" = '+8.051'