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

Question: What is the total heat number of sun yang, who has a lane less than 2?
SQL: SELECT COUNT("heat") FROM "heats" WHERE "name"='sun yang' AND "lane"<2;

Question: Who has a time of 3:50.90?
SQL: SELECT "name" FROM "heats" WHERE "time"='3:50.90';

Question: What is the time of lane 3 in heat 5?
SQL: SELECT "time" FROM "heats" WHERE "heat"=5 AND "lane"=3;

Question: What is the heat with a time of 3:45.57 in lane 3?
SQL: SELECT "heat" FROM "heats" WHERE "lane"=3 AND "time"='3:45.57';