this question is a bit of a mouthful.
express this question by example
there are two table here:
table1
id1 col1
1 a
2 b
3 c
---------------------
table2
id2 col2
1 b
2 c
3 d
if i do this: select * from table1 t inner join table2 tt on t.col1=tt.col2
l will get the result like this:
id1 col1 id2 col2
2 b 1 b
3 c 2 c
than question coming
l want to get result like this
id1 col1 id2 col2
1 a null null
null null 3 d