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