CREATE TABLE table_name_47 (away_team VARCHAR2, home_team VARCHAR2)

What was the opponent of the home team of essendon?
SELECT away_team FROM table_name_47 WHERE home_team = "essendon"
SELECT "away_team" FROM "table_name_47" WHERE "essendon" = "home_team"