text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_10 (laps INTEGER, rider VARCHAR, grid VARCHAR)
  ### 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