question: What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha
answer: SELECT MIN(laps) FROM table_name_10 WHERE rider = "andrew pitt" AND grid < 18
context: CREATE TABLE table_name_10 (laps INTEGER, rider VARCHAR, grid VARCHAR)