SELECT DISTINCT F.LM_LELW_VNDR_ID , B.LM_CI_ID , B.LM_CS_LONG_NM FROM PS_LM_SES_VW A , PS_LM_CI_VW B , PS_LM_ACT_VW C , PS_LM_LC_VW D , PS_LM_LELW_ENR_BAT E , PS_LM_LELW_PWD_TBL G , PS_LM_LC_LWC F WHERE A.LM_SES_ID=E.LM_SES_ID AND A.LM_ACT_ID=C.LM_ACT_ID AND A.LM_LC_ID=D.LM_LC_ID AND A.LM_ACT_ID=D.LM_ACT_ID AND C.LM_CI_ID=B.LM_CI_ID AND A.LM_LC_ID=F.LM_LC_ID AND A.LM_ACT_ID=F.LM_ACT_ID AND E.LM_LELW_ACT_ENRL='10' AND A.LM_SES_ID NOT IN ( SELECT LM_SES_ID FROM PS_LM_LELW_SES_BAT) AND E.LM_PERSON_ID = G.LM_PERSON_ID AND F.LM_LELW_VNDR_ID=G.LM_LELW_VNDR_ID
|