I have to tables in my database :
table1
column1|column2|column5|column13
harry   marry   stan    kyle
table2
column1|column2|column12|column7
kenny   eric    randy    ike
As you can see there are two columns in each table with the same name and two with the different name, I'd like to join those into one, here is the output I want to achieve
column1|column2|column5|column13|column12|column7
harry   marry   stan    kyle     null     null
kenny   eric    null    null     randy    ike
or
column1|column2|column5|column12|column13|column7
harry   marry   stan    null     kyle     null
kenny   eric    null    randy    null     ike
Is this possible? and how? I've tried something like :
(select t1.column1 from table1 t1 union select t2.column1 from table t2)
But I'm stuck ..
 
     
     
     
     
     
     
    