Context: CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)
Question: What team was the home team when Richmond was the away team?
Answer: SELECT home_team FROM table_name_36 WHERE away_team = "richmond"