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

Question: Which Time has a Lane smaller than 4, and a Rank larger than 6?
SQL: SELECT AVG("time") FROM "semifinal_2" WHERE "lane"<4 AND "rank">6;

Question: Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6?
SQL: SELECT AVG("rank") FROM "semifinal_2" WHERE "nationality"='france' AND "name"='alain bernard' AND "lane"<6;

Question: Which Nationality has a Rank larger than 1, and a Time smaller than 22.12, and a Lane smaller than 4, and a Name of ashley callus?
SQL: SELECT "nationality" FROM "semifinal_2" WHERE "rank">1 AND "time"<22.12 AND "lane"<4 AND "name"='ashley callus';