Skip to Main Content

PeopleSoft Enterprise

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!

Correlated Sub-select in Peoplesoft Query?

WyoJohnDec 11 2017 — edited Dec 12 2017

Hi All,

I'd like to do a correlated sub-select for several fields in the top of my query. Can I do this within the Peoplesoft Query Manager or do I need to do this as a Connected Query?? If I can do this inside of the Peoplesoft Query Manager, can you offer some tips for how to do this?

The SQL I'm using looks something like this. I get the Project ID from T1 and match it in my sub select to get the Project Name:

SELECT

T1.*,

(*/ Query 2 */ Select X.Project_Name From tablex X Where T1.Project_ID = x.Project_ID ) as "Project Name"


FROM

(

*/ Query 1 */

SELECT A.Project_ID, B.*

From

TablesA A,

TablesA B

Where

A.id = B.id

) T1

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2018
Added on Dec 11 2017
0 comments
314 views