SELECT APP.HRS_PERSON_ID , ( SELECT FIRST_NAME FROM PS_HRS_APP_NAME_I NAME1 WHERE APP.HRS_PERSON_ID = NAME1.HRS_PERSON_ID ) FIRST_NAME , ( SELECT MIDDLE_NAME FROM PS_HRS_APP_NAME_I NAME1 WHERE APP.HRS_PERSON_ID = NAME1.HRS_PERSON_ID ) MIDDLE_NAME, ( SELECT LAST_NAME FROM PS_HRS_APP_NAME_I NAME1 WHERE APP.HRS_PERSON_ID = NAME1.HRS_PERSON_ID ) LAST_NAME, ( SELECT EMAIL_ADDR FROM PS_HRS_APP_EMAIL_I EML WHERE APP.HRS_PERSON_ID = EML.HRS_PERSON_ID ) EMAIL_ADDR, ( SELECT PHONE FROM PS_HRS_APP_PHONE_I PHON WHERE APP.HRS_PERSON_ID = PHON.HRS_PERSON_ID ) PHONE, ( SELECT ADDRESS1 FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') ADDRESS1, ( SELECT ADDRESS2 FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') ADDRESS2, ( SELECT ADDRESS3 FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') ADDRESS3, ( SELECT ADDRESS4 FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') ADDRESS4, ( SELECT CITY FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') CITY, ( SELECT STATE FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') STATE, ( SELECT COUNTRY FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') COUNTRY, ( SELECT POSTAL FROM PS_HRS_APP_ADDRESS ADDR WHERE ADDR.HRS_PERSON_ID = APP.HRS_PERSON_ID AND ADDRESS_TYPE ='HOME') POSTAL, STATUS_CODE FROM PS_HRS_APPLICANT APP
|