user: Question: What is the lowest grid with rider casey stoner and laps that are smaller than 27?
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Casey Stoner', 'Ducati', 27.0, '41:12.244', 3.0]
SQL:

assistant: SELECT MIN("Grid") FROM "Table" WHERE "Rider" = 'casey stoner' AND "Laps" < 27.0;