SELECT A.SAD_UC_INST , A.SAD_UC_COURSE , B.SAD_UC_LONGNAME , A.SAD_UC_SITE , A.SAD_UC_STUDY_MODE , B.SAD_UC_CYCLE FROM PS_SAD_UC_ACOURSE A , PS_SAD_UC_ACOURSE2 B WHERE B.INSTITUTION = A.INSTITUTION AND B.SAD_UC_INST = A.SAD_UC_INST AND B.SAD_UC_COURSE = A.SAD_UC_COURSE AND B.SAD_UC_SITE = A.SAD_UC_SITE AND B.SAD_UC_STUDY_MODE = A.SAD_UC_STUDY_MODE AND B.SAD_UC_CYCLE>=NVL(( SELECT C.SAD_UC_CYCLE FROM PS_SAD_UC_CONFIG C WHERE C.INSTITUTION=A.INSTITUTION), 0) ORDER BY B.SAD_UC_CYCLE DESC, A.SAD_UC_INST, A.SAD_UC_COURSE, A.SAD_UC_SITE, A.SAD_UC_STUDY_MODE
|