CREATE TABLE "achievements_competitions" (
  "competition" text,
  "place" text,
  "year" real,
  "horse" text,
  "rank" text
);

Question: What is the rank for Burghley?
SQL: SELECT "rank" FROM "achievements_competitions" WHERE "place"='burghley';

Question: What horse was at the Badminton Horse Trials?
SQL: SELECT "horse" FROM "achievements_competitions" WHERE "competition"='badminton horse trials';