CREATE TABLE table_name_42 (home_team VARCHAR2, away_team VARCHAR2)

What team did team carlton play while away?
SELECT home_team FROM table_name_42 WHERE away_team = "carlton"
SELECT "home_team" FROM "table_name_42" WHERE "away_team" = "carlton"