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

Question: Which 3rd run has rank of 8?
SQL: SELECT "3rd_run" FROM "heat_2" WHERE "rank"=8;

Question: Which 3rd run has rank of 1?
SQL: SELECT "3rd_run" FROM "heat_2" WHERE "rank"=1;

Question: Which average rank has a total of 16?
SQL: SELECT AVG("rank") FROM "heat_2" WHERE "total"=16;