CREATE TABLE table_name_40 (tie_no VARCHAR2, away_team VARCHAR2)

What is the Tie Number when Barnsley was the away team?
SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley"
SELECT "tie_no" FROM "table_name_40" WHERE "away_team" = "barnsley"