CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "react" real,
  "time" real
);

Question: What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?
SQL: SELECT COUNT("time") FROM "semifinal_1" WHERE "lane"<8 AND "nationality"='canada' AND "rank"<8;

Question: What is the total react number with a time less than 20.05 and a lane less than 6?
SQL: SELECT COUNT("react") FROM "semifinal_1" WHERE "time"<20.05 AND "lane"<6;

Question: What is the average react of bryan barnett, who has a lane less than 2?
SQL: SELECT AVG("react") FROM "semifinal_1" WHERE "name"='bryan barnett' AND "lane"<2;