CREATE TABLE table_name_10 (laps INT, rider VARCHAR, grid VARCHAR)

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