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!

Connect by prior Query

829995Jan 20 2011 — edited Jan 21 2011
Hi All

Could you please suggest me ,how do I write connect by prior for below query.

SELECT hpp.party_name ,hpp.party_number,hpc.party_name,hpc.party_number
FROM apps.hz_relationships hr,
apps.hz_parties hpp,
apps.hz_parties hpc
where 1=1
and hr.subject_table_name = 'HZ_PARTIES'
AND hr.object_type = 'ORGANIZATION'
AND hr.subject_id = hpp.party_id
AND hr.object_id = hpc.party_id

Thanks,
Bhavana
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2011
Added on Jan 20 2011
5 comments
661 views