user: Question: What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Alex Barros', 'Honda', 30.0, '47:22.404', 2.0]
SQL:

assistant: SELECT MIN("Laps") FROM "Table" WHERE "Rider" = 'andrew pitt' AND "Grid" < 18.0;