CREATE TABLE "stages" (
  "stage" real,
  "start" text,
  "arrival" text,
  "duration" text,
  "difficulty" text
);

Question: Which stage number did son bou arrive at?
SQL: SELECT COUNT("stage") FROM "stages" WHERE "arrival"='son bou';

Question: How long does the one that stars with son bou of middle difficulty, and on a stage number larger than 13 last?
SQL: SELECT "duration" FROM "stages" WHERE "stage">13 AND "difficulty"='middle' AND "start"='son bou';

Question: What is the lowest stage number that starts with els alocs and has a middle difficulty?
SQL: SELECT MIN("stage") FROM "stages" WHERE "difficulty"='middle' AND "start"='els alocs';