Oracle 12 c joins enhancement help

Hi Team,

Can any one help me with the below topics in oracle 12c
CROSS APPLY  ,OUTER APPLY  and mutli table outer joins using + operator with examples .
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
I would start with the online documentation.  It also has examples.

If you are still confused, just ask about the specific parts and we'll attempt to assist you.
sam_2012Author Commented:

Any example for CROSS APPLY and OUTER APPLY.

For (+) --> I need an example for
Prior to Oracle Database 12c, having multiple tables on the left hand side of an outer join was illegal and resulted in an ORA-01417 error. The only way to execute such a query was to translate it into ANSI syntax. In Oracle Database 12c, the native syntax for a LEFT OUTER JOIN has been expanded to allow multiple tables on the left hand side.

Need an example for it
slightwv (䄆 Netminder) Commented:
>>Need an example for it

If you google the ORA-01417 there are many links that have examples. Once you understand those examples, it is pretty simple to create your own.

If you run the example below in 11g, the first query fails with the ORA-01417.  In 12c they both run.
drop table tab1 purge;
create table tab1(col1 char(1), col2 char(1));

drop table tab2 purge;
create table tab2(col1 char(1));

drop table tab3 purge;
create table tab3(col1 char(1));

insert into tab1 values('a','a');
insert into tab2 values('a');
insert into tab3 values('a');

select t1.col1 from
tab1 t1, tab2 t2, tab3 t3
                t1.col1(+)=t2.col1 and

select t1.col1 from
tab1 t1
                left outer join tab2 t2 on t1.col1=t2.col1
                left outer join tab3 t3 on t1.col2=t3.col1

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.