CREATE TABLE "heat_2" (
  "rank" real,
  "name" text,
  "1st_run" text,
  "2nd_run" text,
  "3rd_run" text,
  "total" real
);

Question: What is the total sum ranked less than 5 with a 37.076 (2) 3rd run?
SQL: SELECT SUM("total") FROM "heat_2" WHERE "rank"<5 AND "3rd_run"='37.076 (2)';

Question: What is the name of the person with a total of 22?
SQL: SELECT "name" FROM "heat_2" WHERE "total"=22;

Question: What is the total with a rank less than 8 and a 40.143 (4) 2nd run?
SQL: SELECT "total" FROM "heat_2" WHERE "rank"<8 AND "2nd_run"='40.143 (4)';