We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Please assist on my code I'm unable to find where is wrong in join conditions

Accepted answer
11
Views
20
Comments
edited Apr 12, 2022 10:18AM in BI Publisher Learning Center 20 comments

select DISTINCT papf.Person_number,

    ppnf.Full_Name,

  pni.NATIONAL_IDENTIFIER_NUMBER,

    Pn.PASSPORT_NUMBER,

  pp.attribute3 as "Business Card Title",

  to_char(ppos.ORIGINAL_DATE_OF_HIRE, 'DD-MM-YYYY') Hire_Date,

  to_char(CURRENT_DATE,'DD-MM-YYYY')

  

  from

       PER_PERSON_SECURED_LIST_V papf,

         PER_PERSON_NAMES_F ppnf,

 PER_ASSIGNMENT_SECURED_LIST_V paaf,

 PER_PERSONS pp,

  PER_NATIONAL_IDENTIFIERS pni,

  PER_PASSPORTS Pn,

  PER_PERSON_TYPES_TL pptl,

  HR_ALL_ORGANIZATION_UNITS haou,

  PER_PERIODS_OF_SERVICE ppos

     

where

papf.person_id=ppnf.person_id

and papf.person_id=paaf.person_id

and paaf.PERSON_TYPE_ID = pptl.PERSON_TYPE_ID

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!