CREATE TABLE "defunct_competitions" (
  "years" text,
  "type" text,
  "original_code" text,
  "current_code" text,
  "location" text
);

Question: What is the current code for the club trophy, in 1867 only?
SQL: SELECT "current_code" FROM "defunct_competitions" WHERE "type"='club trophy' AND "years"='1867 only';

Question: What is the location of the original code for victorian rules?
SQL: SELECT "location" FROM "defunct_competitions" WHERE "original_code"='victorian rules';

Question: What is the location for the club trophy?
SQL: SELECT "location" FROM "defunct_competitions" WHERE "type"='club trophy';

Question: What is the location for the club trophy from the year 1867 only?
SQL: SELECT "location" FROM "defunct_competitions" WHERE "type"='club trophy' AND "years"='1867 only';