The sun of total that has a tour of 7 and a Giro smaller than 3 is 12.
CREATE TABLE "podiums_on_all_three_grands_tours" (
  "name" text,
  "tour" real,
  "giro" real,
  "vuelta" real,
  "total" real
);
SELECT SUM("total") FROM "podiums_on_all_three_grands_tours" WHERE "tour"=7 AND "giro"<3;