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

Question: What lane did the barbados swimmer compete in before heat 3?
SQL: SELECT "lane" FROM "heats" WHERE "heat"<3 AND "nationality"='barbados';

Question: What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane under 5?
SQL: SELECT "time" FROM "heats" WHERE "heat">3 AND "lane"<5 AND "rank"=5;