What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?
CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
SELECT MIN("laps") FROM "classification" WHERE "constructor"='ferrari' AND "grid"<4;