SELECT C.HRS_CRSP_ID , A.HRS_PERSON_ID , C.LANGUAGE_CD , A.LAST_NAME , A.FIRST_NAME , A.NAME_DISPLAY , C.HRS_CRSP_SUBJ , C.HRS_CRSP_MSG FROM PS_HRS_APP_NAME_LN A , PS_HRS_APP_EMAIL_I B , PS_HRS_APPCRSP_LNG C WHERE A.HRS_PERSON_ID = B.HRS_PERSON_ID AND A.HRS_PERSON_ID = C.HRS_PERSON_ID AND A.LANGUAGE_CD = C.LANGUAGE_CD UNION ALL SELECT C.HRS_CRSP_ID , A.HRS_PERSON_ID , C.LANGUAGE_CD , A.LAST_NAME , A.FIRST_NAME , A.NAME_DISPLAY , C.HRS_CRSP_SUBJ , C.HRS_CRSP_MSG FROM PS_HRS_APP_NAME_I A , PS_HRS_APP_EMAIL_I B , PS_HRS_APPCRSP_LNG C WHERE A.HRS_PERSON_ID = B.HRS_PERSON_ID AND A.HRS_PERSON_ID = C.HRS_PERSON_ID AND NOT EXISTS ( SELECT 'X' FROM PS_HRS_APP_NAME_LN AL WHERE AL.HRS_PERSON_ID = A.HRS_PERSON_ID AND AL.LANGUAGE_CD = C.LANGUAGE_CD) UNION ALL SELECT C.HRS_CRSP_ID , A.HRS_PERSON_ID , A.LANGUAGE_CD , A.LAST_NAME , A.FIRST_NAME , A.NAME_DISPLAY , C.HRS_CRSP_SUBJ , C.HRS_CRSP_MSG FROM PS_HRS_APP_NAME_LN A , PS_HRS_APP_EMAIL_I B , PS_HRS_APP_CRSP C WHERE A.HRS_PERSON_ID = B.HRS_PERSON_ID AND A.HRS_PERSON_ID = C.HRS_PERSON_ID AND NOT EXISTS ( SELECT 'X' FROM PS_HRS_APPCRSP_LNG CL WHERE CL.HRS_PERSON_ID = C.HRS_PERSON_ID AND CL.LANGUAGE_CD = A.LANGUAGE_CD)
|