CREATE TABLE "round_22" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);

Question: Where was the game that the home team scored 12.15 (87)?
SQL: SELECT "venue" FROM "round_22" WHERE "home_team_score"='12.15 (87)';

Question: How many people attended Melbourne's away game?
SQL: SELECT SUM("crowd") FROM "round_22" WHERE "away_team"='melbourne';

Question: What was the home team's score when the away team scored 15.17 (107)?
SQL: SELECT "home_team_score" FROM "round_22" WHERE "away_team_score"='15.17 (107)';