Name the Adelaide for Sydney of yes and Perth of yes
CREATE TABLE "2007" (
  "sydney" text,
  "melbourne" text,
  "perth" text,
  "adelaide" text,
  "gold_coast" text,
  "auckland" text
);
SELECT "adelaide" FROM "2007" WHERE "sydney"='yes' AND "perth"='yes';