CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "sprints_classification" text,
  "team_classification" text
);

Question: What's the general classification of stage 3 with David Loosli as the mountains classification?
SQL: SELECT "general_classification" FROM "jersey_progress" WHERE "mountains_classification"='david loosli' AND "stage"='3';

Question: What's the points classification when the stage was final?
SQL: SELECT "points_classification" FROM "jersey_progress" WHERE "stage"='final';

Question: What is the stage of Gerolsteiner?
SQL: SELECT "stage" FROM "jersey_progress" WHERE "team_classification"='gerolsteiner';

Question: What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
SQL: SELECT "mountains_classification" FROM "jersey_progress" WHERE "general_classification"='kim kirchen' AND "stage"='7';

Question: What was Kim Kirchen's team classification?
SQL: SELECT "team_classification" FROM "jersey_progress" WHERE "general_classification"='kim kirchen';