Please assist on my code I'm unable to find where is wrong in join conditions
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