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

Question: Which home team played an away team with a score of 6.4 (40)?
SQL: SELECT "home_team_score" FROM "round_16" WHERE "away_team_score"='6.4 (40)';

Question: Which home team played at Princes Park?
SQL: SELECT "home_team" FROM "round_16" WHERE "venue"='princes park';

Question: What date was Richmond the home team?
SQL: SELECT "date" FROM "round_16" WHERE "home_team"='richmond';

Question: What was the largest crowd when Melbourne was the away team?
SQL: SELECT MAX("crowd") FROM "round_16" WHERE "away_team"='melbourne';