user: Question: When Hapoel Tel Aviv was team 2 and 1st leg was 1–2, what was the 2nd leg?
Columns: ['Team 1', 'Agg.', 'Team 2', '1st leg', '2nd leg']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['PAOK', '1–1 ( a )', 'Heerenveen', '1–1', '0–0']
SQL:

assistant: SELECT "2nd leg" FROM "Table" WHERE "1st leg" = '1–2' AND "Team 2" = 'Hapoel Tel Aviv';