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

Question: When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?
SQL: SELECT MIN("rank") FROM "heats" WHERE "nationality"='united states' AND "time"='58.06' AND "heat">5;

Question: What is the highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia?
SQL: SELECT MAX("rank") FROM "heats" WHERE "lane">6 AND "heat"=3 AND "nationality"='colombia';

Question: What is the total lane for a heat larger than 7?
SQL: SELECT COUNT("lane") FROM "heats" WHERE "heat">7;

Question: What is the highest heat when the nationality is poland, and the lane is smaller than 6?
SQL: SELECT MAX("heat") FROM "heats" WHERE "nationality"='poland' AND "lane"<6;