SELECT COCF.INSTITUTION , COCF.ACAD_PROG , COCF.ACAD_PLAN , COCF.LOCATION , COCF.CRSE_FEE_EFFDT , MAX(COCF.SSR_TRANS_ID) FROM PS_SSR_HM_CRSE_FEE COCF , PS_SSR_HM_UID_MAP MAP WHERE COCF.INSTITUTION= MAP.INSTITUTION AND COCF.ACAD_PROG = MAP.ACAD_PROG AND COCF.ACAD_PLAN = MAP.ACAD_PLAN AND COCF.LOCATION = MAP.LOCATION AND COCF.SSR_PROVIDER_TYPE = MAP.SSR_PROVIDER_TYPE AND MAP.DELETE_FLAG = 'N' AND MAP.EFF_STATUS = 'A' AND MAP.RECNAME = 'SSR_HM_CRSE_FEE' AND COCF.SSR_PROVIDER_TYPE ='HEP' AND COCF.IB_RESTMETHOD NOT LIKE 'DELETE' AND COCF.SSR_MAP_ID <> 0 GROUP BY COCF.INSTITUTION , COCF.ACAD_PROG , COCF.ACAD_PLAN, COCF.LOCATION , COCF.CRSE_FEE_EFFDT
|