CREATE TABLE table_name_65 (match INT, home_away VARCHAR, opponent_team VARCHAR)

What is the average match when the singapore armed forces played away against perak fa (malaysia)?
SELECT AVG(match) FROM table_name_65 WHERE home_away = "away" AND opponent_team = "perak fa (malaysia)"
SELECT AVG("match") FROM "table_name_65" WHERE "away" = "home_away" AND "opponent_team" = "perak fa (malaysia)"