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!

Left Outer join and Inner join

727688Dec 23 2010 — edited Dec 23 2010
SELECT dp.sub_id,
       dl.id,
       dp.description,
       ce.entid,
       ce.NAME || '/' || prj.project_name,
       dp.engaged_ind,
       dp.status,
       dp.cd
  FROM dl_product dp
 INNER JOIN deal dl ON dp.id = dl.id
 INNER JOIN entity ce ON dl.entid = ce.entid
  LEFT OUTER JOIN project prj ON dl.proj_id = prj.proj_id
 INNER JOIN attributes attr ON dp.sub_id = attr.sub_id
 WHERE dp.status = 'A'
       AND attr.attribute_cd = 'AR'
       AND attr.attribute_value = 'Y'
Is it possible to get the results of the following query in a different manner without using LEFT OUTER JOIN or (+) or INNER JOIN as these are not supported in hibernate?


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2011
Added on Dec 23 2010
4 comments
345 views