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!

with clause with union all ??

645300Mar 18 2010 — edited Mar 19 2010
Hi,

I was trying to use "with" clause with union all ...but it gives me error ....
   with t1 as 
        (select '1'col1 from dual union all
         select '2' col2 from dual)select * from t1
         union 
        with t2 as 
        (select '3' col1 from dual union all
         select '4' col1 from dual )
          select * from t2
            
What wrong am i doing here ??? Thank you so much!!
This post has been answered by MScallion on Mar 18 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2010
Added on Mar 18 2010
2 comments
15,714 views