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

Question: What is Germany's lowest heat ranked after 24?
SQL: SELECT MIN("heat") FROM "heats" WHERE "nationality"='germany' AND "rank">24;

Question: What is the rank for Denmark?
SQL: SELECT COUNT("rank") FROM "heats" WHERE "nationality"='denmark';

Question: What is the highest lane for Christine Mailliet ranked less than 39?
SQL: SELECT MAX("lane") FROM "heats" WHERE "name"='christine mailliet' AND "rank"<39;