CREATE TABLE "semifinals" (
  "rank" real,
  "heat" real,
  "cyclist" text,
  "nation" text,
  "result" text
);

Question: What is the lowest rank that spain got?
SQL: SELECT MIN("rank") FROM "semifinals" WHERE "nation"='spain';