CREATE TABLE "weekly_ratings" (
  "week" real,
  "sydney" real,
  "melbourne" real,
  "brisbane" real,
  "adelaide" real,
  "perth" real,
  "total" real,
  "nightly_rank" real
);

Question: What was the rating in Brisbane the week it was 276000 in Melbourne? 
SQL: SELECT MAX("brisbane") FROM "weekly_ratings" WHERE "melbourne"=276000;

Question: What was the total rating on week 3? 
SQL: SELECT "total" FROM "weekly_ratings" WHERE "week"=3;

Question: What was the rating for Brisbane the week that Adelaide had 94000?
SQL: SELECT MIN("brisbane") FROM "weekly_ratings" WHERE "adelaide"=94000;