CREATE TABLE table_name_22 (home_team VARCHAR2, away_team VARCHAR2)

What Home team played Richmond?
SELECT home_team FROM table_name_22 WHERE away_team = "richmond"
SELECT "home_team" FROM "table_name_22" WHERE "away_team" = "richmond"