SELECT A.LM_PERSON_ID , F.LANGUAGE_CD , F.LM_ORG_DESCR , F.LM_ORG_SDESCR , H.LM_JOBCD_DESCR FROM PS_LM_PERSON A , PS_LM_CURR_JOB_VW B , PS_LM_ORGANIZATION E , PS_LM_ORG_LANG F , PS_LM_JOBCODE_TBL G , PS_LM_JOBCODE_LANG H WHERE B.LM_PERSON_ID = A.LM_PERSON_ID AND %CurrentDateIn BETWEEN B.EFFDT AND B.LM_END_EFFDT AND E.LM_ORGANIZATION_ID = B.LM_ORGANIZATION_ID AND E.LM_ORGANIZATION_ID= F.LM_ORGANIZATION_ID AND E.EFFDT=F.EFFDT AND %CurrentDateIn BETWEEN E.EFFDT AND E.LM_END_EFFDT AND E.EFF_STATUS = 'A' AND G.LM_JOBCODE_ID = B.LM_JOBCODE_ID AND H.LM_JOBCODE_ID = G.LM_JOBCODE_ID AND H.LANGUAGE_CD = F.LANGUAGE_CD AND G.EFFDT = H.EFFDT AND B.EFFDT BETWEEN G.EFFDT AND G.LM_END_EFFDT AND G.EFF_STATUS = 'A'
|