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