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

Question: Who was in Lane 5 and had a heat of 7?
SQL: SELECT "name" FROM "heats" WHERE "heat"=7 AND "lane"=5;

Question: What lane number was Hungary and had a heat of 4?
SQL: SELECT COUNT("lane") FROM "heats" WHERE "heat"=4 AND "nationality"='hungary';