What is the total with a rank less than 8 and a 40.143 (4) 2nd run?
CREATE TABLE "heat_2" (
  "rank" real,
  "name" text,
  "1st_run" text,
  "2nd_run" text,
  "3rd_run" text,
  "total" real
);
SELECT "total" FROM "heat_2" WHERE "rank"<8 AND "2nd_run"='40.143 (4)';