CREATE TABLE table_39873 ("Team #1" TEXT, "Agg." TEXT, "Team #2" TEXT, "1st leg" TEXT, "2nd leg" TEXT)

Who played against Hapoel tel aviv when they were team #1?
SELECT "Team #2" FROM table_39873 WHERE "Team #1" = 'hapoel tel aviv'
SELECT "Team #2" FROM "table_39873" WHERE "Team #1" = 'hapoel tel aviv'