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

Question: What rank was the swimmer in lane 4?
SQL: SELECT "rank" FROM "semifinal_2" WHERE "lane"=4;

Question: What is the highest lane for the poland swimmer who ranked under 6?
SQL: SELECT MAX("lane") FROM "semifinal_2" WHERE "rank"<6 AND "nationality"='poland';