CREATE TABLE table_5145 ("Rider" CLOB, "Manufacturer" CLOB, "Laps" FLOAT, "Time/Retired" CLOB, "Grid" FLOAT)

What is the lowest grid with rider casey stoner and laps that are smaller than 27?
SELECT MIN("Grid") FROM table_5145 WHERE "Rider" = 'casey stoner' AND "Laps" < '27'
SELECT MIN("Grid") FROM "table_5145" WHERE "Laps" < '27' AND "Rider" = 'casey stoner'