What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha
CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
SELECT MIN("laps") FROM "moto_gp_classification" WHERE "rider"='andrew pitt' AND "grid"<18;