What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti?
CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
SELECT SUM("grid") FROM "classification" WHERE "time_retired"='engine' AND "laps"<45 AND "driver"='giancarlo baghetti';