select different columns using union all
I am trying to select all records from both table
select A,B,C from table1
union all
select A,B,D,E,F from table2
I am getting result A,B,C columns but not D,E,F.
what do i have to do to get all columns in the result. like A,B,C,D,E,F
Thanks
SK