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!

If A=B & B=C, need a query which says A=C

Ram Mohan T-OracleMay 25 2012 — edited May 25 2012
Hi All,

My requirement is something like: I have a table with two Columns:

COLA COLB

A B
B C

Now i need to analyse these records and understand that If A=B & B=C, then I need to insert the third record in the table like below:

A C

I was trying Hierarchical queries, but unable to reach the requirement. Any help is much appreciated.

Thanks in Advance,
Ram Mohan T
This post has been answered by Rafu on May 25 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2012
Added on May 25 2012
3 comments
695 views