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

Question: What Nationality has a Time of 9:01.70?
SQL: SELECT "nationality" FROM "heats" WHERE "time"='9:01.70';

Question: What is sun yang's lowest rank?
SQL: SELECT MIN("rank") FROM "heats" WHERE "name"='sun yang';

Question: What is the rank for Heat : Lane of 4 : 1?
SQL: SELECT "rank" FROM "heats" WHERE "heat_lane"='4 : 1';

Question: How many ranks have a ationality of canada, and a Time of dns?
SQL: SELECT COUNT("rank") FROM "heats" WHERE "nationality"='canada' AND "time"='dns';