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

Question: for the rank of 3 for the united states, what is the average lane?
SQL: SELECT AVG("lane") FROM "semifinal_2" WHERE "nationality"='united states' AND "rank"=3;

Question: for the rank more than 1 and nationality of netherlands, what is the lane?
SQL: SELECT AVG("lane") FROM "semifinal_2" WHERE "nationality"='netherlands' AND "rank">1;

Question: for the time of 49.04 and lane less than 3, what is the nationality?
SQL: SELECT "nationality" FROM "semifinal_2" WHERE "lane"<3 AND "time"=49.04;

Question: for the rank of 8 and lane less than 3 what is the name?
SQL: SELECT "name" FROM "semifinal_2" WHERE "lane"<3 AND "rank"=8;