CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR)

Who was the away team when bournemouth was the home team?
SELECT away_team FROM table_name_31 WHERE home_team = "bournemouth"
SELECT "away_team" FROM "table_name_31" WHERE "bournemouth" = "home_team"