SCHEMA:
CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR)
USER:
What was the away team when the result was 2–1 and home team was the bohemians?

QUERY:
SELECT away_team FROM table_24949975_1 WHERE result = "2–1" AND home_team = "Bohemians"