Join Query All left rows and join bit indicator : So I have this 3 tables:

**T1**

    T1
    --
    ID
    --
    1
    2
    3
    4
    5

**T2**

    T2
    --
    ID
    --
    1
    2
    3

**T1_2 that connects (N-N) T1 with T2**

    T1_2
    -----------
    ID_T1|ID_T2
    -----|-----
    1	 |2
    3	 |2

And I would like to get the following result

    EXPECETED RESULT
    -----------------
    IS_CONNECTED|ID_T1
    -----------------
    1		   |1
    0		   |2
    1		   |3
    0		   |4
    0		   |5

I'm trying with LEFT OUTER JOIN but no close to what I want.
	
