SSF_MLST_CRS_VW

(SQL View)
Index Back

SELECT C.EMPLID , C.INSTITUTION , C.ACAD_CAREER , B.STRM , A.MILESTONE , C.ATTEMPT_NBR , C.ACAD_PROG , B.CRSE_ID , B.CLASS_NBR FROM PS_SSR_CRS_MILESTN A , PS_CLASS_TBL B , PS_SSR_MLSTATM_NZL C WHERE A.CRSE_ID = B.CRSE_ID AND C.ATTEMPT_NBR = ( SELECT MAX(C1.ATTEMPT_NBR) FROM PS_SSR_MLSTATM_NZL C1 WHERE C.EMPLID = C1.EMPLID AND C.INSTITUTION = C1.INSTITUTION AND C.ACAD_CAREER = C1.ACAD_CAREER AND C.ACAD_PROG = C1.ACAD_PROG AND C.ACAD_PLAN = C1.ACAD_PLAN AND C.EFFDT = C1.EFFDT AND C.MILESTONE_NBR = C1.MILESTONE_NBR) AND C.EFFDT = ( SELECT MAX(C2.EFFDT) FROM PS_SSR_MLSTATM_NZL C2 WHERE C.EMPLID = C2.EMPLID AND C.INSTITUTION = C2.INSTITUTION AND C.ACAD_CAREER = C2.ACAD_CAREER AND C.ACAD_PROG = C2.ACAD_PROG AND C.ACAD_PLAN = C2.ACAD_PLAN AND C.MILESTONE_NBR = C2.MILESTONE_NBR AND C2.EFFDT <=%CurrentDateIn) AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_SSR_CRS_MILESTN A1 WHERE A.CRSE_ID = A1.CRSE_ID AND A1.EFFDT <= %CurrentDateIn) AND B.CRSE_ID = C.CRSE_ID AND B.STRM = C.STRM

# 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 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
4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 MILESTONE Character(10) VARCHAR2(10) NOT NULL Milestone
6 ATTEMPT_NBR Number(3,0) SMALLINT NOT NULL Attempt Nbr
7 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
8 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
9 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr