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

Question: Which Time has a Lane smaller than 2, and a Nationality of spain?
SQL: SELECT "time" FROM "heats" WHERE "lane"<2 AND "nationality"='spain';

Question: How many Heats have a Name of miguel molina?
SQL: SELECT COUNT("heat") FROM "heats" WHERE "name"='miguel molina';