SSR_BR_RRVV_NLD(SQL View) |
Index Back |
---|---|
Results Resit Current View 8Results Resit current view for VAVO |
SELECT DISTINCT ES.EMPLID ,ES.INSTITUTION ,ES.SCC_BRINCD_NLD ,ES.SSR_BR_ENRL_SQ_NLD ,ES.SSR_BR_ENRL_SQ_NLD , (%Sql(SSR_BR_VA_GET_CAF_AIRADD_NLD, AP.INSTITUTION, ITM.SSR_ITEM_ID,'NLD_VA_SUBJ_CD' )) AS SSR_BR_SUBJ_CD_NLD ,SCHD.ACAD_YEAR AS SSR_BR_ACD_YR_NLD ,%NumToChar(ATT.ATTEMPT_NBR) AS SSR_BR_PERIOD_NLD , ES.ACAD_CAREER ,ES.STDNT_CAR_NBR FROM PS_SSR_BR_ENVVWNLD ES JOIN PS_ACAD_PROG AP ON ES.EMPLID = AP.EMPLID AND ES.ACAD_CAREER =AP.ACAD_CAREER AND ES.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP.EFFDT = ( SELECT MAX(AP_ED.EFFDT) FROM PS_ACAD_PROG AP_ED WHERE AP_ED.INSTITUTION = AP.INSTITUTION AND AP_ED.EMPLID = AP.EMPLID AND AP_ED.ACAD_CAREER =AP.ACAD_CAREER AND AP_ED.STDNT_CAR_NBR = AP.STDNT_CAR_NBR) AND AP.EFFSEQ = ( SELECT MAX(AP_E.EFFSEQ) FROM PS_ACAD_PROG AP_E WHERE AP_E.INSTITUTION = AP.INSTITUTION AND AP_E.EMPLID = AP.EMPLID AND AP_E.ACAD_CAREER = AP.ACAD_CAREER AND AP_E.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP_E.EFFDT = AP.EFFDT) JOIN PS_SSR_BR_ENRV_NLD ENRV ON ES.INSTITUTION = ENRV.INSTITUTION AND ES.SCC_BRINCD_NLD = ENRV.SCC_BRINCD_NLD AND ENRV.EFFDT = ( SELECT MAX(ENRV1.EFFDT) FROM PS_SSR_BR_ENRV_NLD ENRV1 WHERE ENRV.INSTITUTION = ENRV1.INSTITUTION AND ENRV.SCC_BRINCD_NLD = ENRV1.SCC_BRINCD_NLD AND ENRV1.EFFDT <= AP.EFFDT) JOIN PS_SSR_BR_RCSG_NLD RCSG ON RCSG.INSTITUTION = ES.INSTITUTION AND RCSG.SCC_BRINCD_NLD = ES.SCC_BRINCD_NLD AND RCSG.EFFDT = ( SELECT MAX(RCSG_ED.EFFDT) FROM PS_SSR_BR_RCSG_NLD RCSG_ED WHERE RCSG.INSTITUTION = RCSG_ED.INSTITUTION AND RCSG.SCC_BRINCD_NLD = RCSG_ED.SCC_BRINCD_NLD AND RCSG_ED.EFFDT <= AP.EFFDT) JOIN PS_SSR_APT_ATT ATT ON AP.INSTITUTION = ATT.INSTITUTION AND AP.EMPLID = ATT.EMPLID AND AP.SSR_APT_INSTANCE = ATT.SSR_APT_INSTANCE JOIN PS_SSR_APT_ITEM ITM ON ITM.INSTITUTION = ATT.INSTITUTION AND ITM.EMPLID = ATT.EMPLID AND ITM.SSR_APT_INSTANCE = ATT.SSR_APT_INSTANCE AND ITM.SSR_APT_ITEM_SEQ = ATT.SSR_APT_ITEM_SEQ JOIN PS_SSR_APT_SCHD SCHD ON SCHD.INSTITUTION = ITM.INSTITUTION AND SCHD.EMPLID = ITM.EMPLID AND SCHD.SSR_APT_INSTANCE = ITM.SSR_APT_INSTANCE AND SCHD.SSR_APT_ITEM_SEQ = ITM.SSR_APT_ITEM_SEQ AND SCHD.ATTEMPT_NBR = ATT.ATTEMPT_NBR JOIN PS_SSR_AIR_ADD ITMVWS ON ATT.INSTITUTION = ITMVWS.INSTITUTION AND ITM.SSR_ITEM_ID = ITMVWS.SSR_ITEM_ID AND ITMVWS.SCC_CAF_ATTRIB_NM = 'NLD_VA_EXAM_TP' AND ITMVWS.SCC_CAF_ATTR_VAL = 'CE' AND ITMVWS.EFFDT = ( SELECT MAX(ITMVWS1.EFFDT) FROM PS_SSR_AIR_HDR ITMVWS1 WHERE ITMVWS1.INSTITUTION = ITMVWS.INSTITUTION AND ITMVWS1.SSR_ITEM_ID = ITMVWS.SSR_ITEM_ID AND ITMVWS1.EFFDT <= AP.EFFDT) AND ITM.SSR_ITEM_TYPE IN ( SELECT AITV.SSR_ITEM_TYPE FROM PS_SSR_BR_AITV_NLD AITV WHERE AITV.INSTITUTION = ES.INSTITUTION AND AITV.SCC_BRINCD_NLD = ES.SCC_BRINCD_NLD AND AITV.EFFDT = ( SELECT MAX(AITV1.EFFDT) FROM PS_SSR_BR_AITV_NLD AITV1 WHERE AITV1.INSTITUTION = AITV.INSTITUTION AND AITV1.SCC_BRINCD_NLD = AITV.SCC_BRINCD_NLD AND AITV1.SSR_BR_TSTTYPV_NLD = AITV.SSR_BR_TSTTYPV_NLD)) AND ATT.SSR_INCL_IN_CALC ='Y' AND ATT.ATTEMPT_NBR = ( SELECT MAX(ATTMAX.ATTEMPT_NBR) FROM PS_SSR_APT_ATT ATTMAX WHERE ATT.EMPLID = ATTMAX.EMPLID AND ATT.INSTITUTION = ATTMAX.INSTITUTION AND ATT.SSR_APT_INSTANCE = ATTMAX.SSR_APT_INSTANCE AND ATT.SSR_APT_ITEM_SEQ = ATTMAX.SSR_APT_ITEM_SEQ) AND ( SELECT COUNT(*) FROM PS_SSR_APT_ATT ATT1 WHERE ATT.EMPLID = ATT1.EMPLID AND ATT.INSTITUTION = ATT1.INSTITUTION AND ATT.SSR_APT_INSTANCE = ATT1.SSR_APT_INSTANCE AND ATT.SSR_APT_ITEM_SEQ = ATT1.SSR_APT_ITEM_SEQ ) > 1 AND EXISTS ( SELECT 'X' FROM PS_SSR_APT_RSLT RSLT WHERE RSLT.EMPLID = ATT.EMPLID AND RSLT.INSTITUTION = ATT.INSTITUTION AND RSLT.SSR_APT_INSTANCE = ATT.SSR_APT_INSTANCE AND RSLT.SSR_APT_ITEM_SEQ = ATT.SSR_APT_ITEM_SEQ AND RSLT.ATTEMPT_NBR <> ATT.ATTEMPT_NBR) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
3 | SCC_BRINCD_NLD | Character(4) | VARCHAR2(4) NOT NULL | BRINcode |
4 | SSR_BR_ENRL_SQ_NLD | Character(20) | VARCHAR2(20) NOT NULL | 2020-04-15 bug 31180485 - enlarged enrollment seq nbr |
5 | SSR_BR_XRSL_SQ_NLD | Character(20) | VARCHAR2(20) NOT NULL | Exam Result sequence Number |
6 | SSR_BR_SUBJ_CD_NLD | Character(4) | VARCHAR2(4) NOT NULL | Subject code |
7 | SSR_BR_ACD_YR_NLD | Character(4) | VARCHAR2(4) NOT NULL | Exam Regime Year |
8 | SSR_BR_PERIOD_NLD | Character(1) | VARCHAR2(1) NOT NULL |
Central exam Period
1=First period 2=Second Period 3=Third period |
9 | ACAD_CAREER | Character(4) | VARCHAR2(4) NOT NULL |
Academic Career
BAC=Bachelor (NLD) BBL=Vocational Coaching (NLD) BOL=Vocational Training (NLD) BUSN=Graduate Business CNED=Continuing Education CRED=Semester Credit EDU=Education (NLD) EXED=Extended Education GRAD=Graduate LAW=Law MEDS=Medical School NONA=Non Award PGRD=Postgraduate RSCH=Research TECH=Technical UENG=Undergraduate Engineering UGRD=Undergraduate VAVO=Advanced General Educ. (NLD) VETM=Veterinary Medicine |
10 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |