What is the smallest grid with a Time/Retired of engine, and a qual of less than 138.75?
CREATE TABLE "classification" (
  "grid" real,
  "constructor" text,
  "qual" real,
  "rank" real,
  "laps" real,
  "time_retired" text
);
SELECT MIN("grid") FROM "classification" WHERE "time_retired"='engine' AND "qual"<138.75;