Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

select different columns using union all

user7404990Mar 24 2011 — edited Mar 24 2011
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
This post has been answered by Frank Kulash on Mar 24 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2011
Added on Mar 24 2011
5 comments
9,421 views