SAA_STDGR_ALLVW

(SQL View)
Index Back

Advising Student Groups

This view contains the valid student groups to be available in academic advising.

SELECT DISTINCT A.INSTITUTION , B.STDNT_GROUP , C.DESCR FROM PS_SAA_STDGR_HDR A , PS_SAA_STDGR_DETL B , PS_STDNT_GROUP_TBL C WHERE A.RQRMNT_USEAGE = 'ADV' AND A.EFFDT = ( SELECT MAX (A1.EFFDT) FROM PS_SAA_STDGR_HDR A1 WHERE A.INSTITUTION = A1.INSTITUTION AND A.RQRMNT_USEAGE = A1.RQRMNT_USEAGE AND A1.EFFDT <= %CurrentDateIn) AND B.INSTITUTION = A.INSTITUTION AND B.RQRMNT_USEAGE = A.RQRMNT_USEAGE AND B.EFFDT = A.EFFDT AND C.INSTITUTION = A.INSTITUTION AND C.STDNT_GROUP = B.STDNT_GROUP AND C.EFFDT <= ( SELECT MAX(C1.EFFDT) FROM PS_STDNT_GROUP_TBL C1 WHERE C1.INSTITUTION = C.INSTITUTION AND C1.STDNT_GROUP = C.STDNT_GROUP AND C1.EFFDT <= %CurrentDateIn AND C1.EFF_STATUS = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

2 STDNT_GROUP Character(4) VARCHAR2(4) NOT NULL Student Group

Prompt Table: STDNT_GROUP_TBL

3 DESCR Character(30) VARCHAR2(30) NOT NULL Description