Schema: CREATE TABLE table_name_40 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie Number when Barnsley was the away team?
SQL: SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley"