CREATE TABLE table_14312471_7 (home_team VARCHAR, away_team VARCHAR)

Who played Richmond at home?
SELECT home_team FROM table_14312471_7 WHERE away_team = "Richmond"
SELECT "home_team" FROM "table_14312471_7" WHERE "Richmond" = "away_team"