How many laps for sébastien bourdais, and a Grid smaller than 1?
CREATE TABLE "race" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
SELECT SUM("laps") FROM "race" WHERE "name"='sébastien bourdais' AND "grid"<1;