Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
When Hapoel tel aviv was team 2 and 1st leg was 1–2, what was the 2nd leg?

### Inputs:
table_name: table, columns: ['Team 1', 'Agg.', 'Team 2', '1st leg', '2nd leg']

### Response:
SELECT 2nd leg FROM table WHERE 1st leg = 1–2 AND Team 2 = hapoel tel aviv