SAD_ACAD_PNR_VW(SQL View) |
Index Back |
---|---|
Acad prog career number viewView on student id and career number |
SELECT A.EMPLID , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.ACAD_PROG , B.DESCR , A.CAMPUS , A.INSTITUTION FROM PS_ACAD_PROG A , PS_ACAD_PROG_TBL B WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_ACAD_PROG A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.ACAD_CAREER = A_ED.ACAD_CAREER AND A.STDNT_CAR_NBR = A_ED.STDNT_CAR_NBR) AND A.EFFSEQ = ( SELECT MAX(A_ES.EFFSEQ) FROM PS_ACAD_PROG A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.ACAD_CAREER = A_ES.ACAD_CAREER AND A.STDNT_CAR_NBR = A_ES.STDNT_CAR_NBR AND A.EFFDT = A_ES.EFFDT) AND A.ACAD_CAREER = B.ACAD_CAREER AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_ACAD_PROG_TBL B_ED WHERE B.INSTITUTION = B_ED.INSTITUTION AND B.ACAD_PROG = B_ED.ACAD_PROG AND B_ED.EFFDT <= A.EFFDT) AND A.ACAD_PROG = B.ACAD_PROG |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | 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 |
3 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
4 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | CAMPUS | Character(5) | VARCHAR2(5) NOT NULL | Campus |
7 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |