SELECT X.LM_ENRLMT_ID , CLNG.LANGUAGE_CD , CLNG.LM_CS_DESCR , CLNG.LM_CS_LONG_NM , DLNG.LM_DM_LONG_NM FROM PS_LM_ENRLMT M , PS_LM_ACT A , PS_LM_CI_VW C , PS_LM_CI_VW_LNG CLNG , PS_LM_DMTH_TYP_TBL T , PS_LM_DMTH_TYP_LNG DLNG , PS_LM_ENR_APR_XREF X , PS_EOAW_STEPINST S , PS_EOAW_USERINST D WHERE M.LM_ACT_ID = A.LM_ACT_ID AND A.LM_CI_ID = C.LM_CI_ID AND C.LM_CI_ID = CLNG.LM_CI_ID AND A.LM_DMTHD_TYPE_ID = T.LM_DMTHD_TYPE_ID AND T.LM_DMTHD_TYPE_ID = DLNG.LM_DMTHD_TYPE_ID AND DLNG.LANGUAGE_CD = CLNG.LANGUAGE_CD AND M.LM_ENRLMT_ID = X.LM_ENRLMT_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND X.EOAWDEFN_ID = S.EOAWDEFN_ID AND X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND D.EOAWSTEP_INSTANCE = S.EOAWSTEP_INSTANCE UNION SELECT X.LM_ENRLMT_ID , CLNG.LANGUAGE_CD , CLNG.LM_CS_DESCR , CLNG.LM_CS_LONG_NM , T.LM_DM_LONG_NM FROM PS_LM_ENRLMT M , PS_LM_ACT A , PS_LM_CI_VW C , PS_LM_CI_VW_LNG CLNG , PS_LM_DMTH_TYP_TBL T , PS_LM_ENR_APR_XREF X , PS_EOAW_STEPINST S , PS_EOAW_USERINST D WHERE M.LM_ACT_ID = A.LM_ACT_ID AND A.LM_CI_ID = C.LM_CI_ID AND C.LM_CI_ID = CLNG.LM_CI_ID AND A.LM_DMTHD_TYPE_ID = T.LM_DMTHD_TYPE_ID AND M.LM_ENRLMT_ID = X.LM_ENRLMT_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND X.EOAWDEFN_ID = S.EOAWDEFN_ID AND X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND D.EOAWSTEP_INSTANCE = S.EOAWSTEP_INSTANCE AND NOT EXISTS ( SELECT 1 FROM PS_LM_DMTH_TYP_LNG DLNG WHERE T.LM_DMTHD_TYPE_ID = DLNG.LM_DMTHD_TYPE_ID AND DLNG.LANGUAGE_CD = CLNG.LANGUAGE_CD) UNION SELECT X.LM_ENRLMT_ID , DLNG.LANGUAGE_CD , C.LM_CS_DESCR , C.LM_CS_LONG_NM , DLNG.LM_DM_LONG_NM FROM PS_LM_ENRLMT M , PS_LM_ACT A , PS_LM_CI_VW C , PS_LM_DMTH_TYP_TBL T , PS_LM_DMTH_TYP_LNG DLNG , PS_LM_ENR_APR_XREF X , PS_EOAW_STEPINST S , PS_EOAW_USERINST D WHERE M.LM_ACT_ID = A.LM_ACT_ID AND A.LM_CI_ID = C.LM_CI_ID AND A.LM_DMTHD_TYPE_ID = T.LM_DMTHD_TYPE_ID AND T.LM_DMTHD_TYPE_ID = DLNG.LM_DMTHD_TYPE_ID AND M.LM_ENRLMT_ID = X.LM_ENRLMT_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND X.EOAWDEFN_ID = S.EOAWDEFN_ID AND X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND D.EOAWSTEP_INSTANCE = S.EOAWSTEP_INSTANCE AND NOT EXISTS ( SELECT 1 FROM PS_LM_CI_VW_LNG CLNG WHERE C.LM_CI_ID = CLNG.LM_CI_ID AND CLNG.LANGUAGE_CD = DLNG.LANGUAGE_CD)
|