Background:
Warren Gordon from Math department wanted a report based on Freshman Undergraduate Students with enrollment of (CSTM 0120, MTH 1030, MTH 2003, MTH 2207, or MTH 2610) during Fall 2015 (1159) with Regents (SMA3 or MATHB) . Please see the ticket from KACE: https://helpdesk.baruch.cuny.edu/admin Ticket: 56099
...
Note |
---|
Regents math score code ‘SMA3’ and ‘MATHB’ was confirmed by OTE previously. Looking at the data the enrollment of student with (CSTM 0120, MTH 1030, MTH 2003, MTH 2207, or MTH 2610) during Fall 2015 (1159) with Regents are very few. OTE will help in the future for accuracy to set up the new set of codes for Regents. |
Final Report Delivery with requirements:
The query for Student Enrollment CU_BAR_SR_00085 has not been shared with Warren but not Mike and Patrick. The query is working fine.
...
- Institution: BAR01
- Career: UGRD
- Term From: 1156
- Term To: 1159
- Admit Type: 2 (as freshman)
- Total : 1074 (with grades and Regents date, score)
...
Query Development:
Following table shows all necessary records that have been used to generate fields as requested by an user to create this report.
Records | Description of fields |
---|---|
ADM_APPL_DATA | ADMIT_TYPE |
ADM_APPL_PROG | EMPLID, ACAD_PROG, ADMIT_TERM |
ADM_APPL_PLAN | ACAD_PLAN |
CU_BOI_VW | LAST_NAME, FIRST_NAME, MIDDLE_NAME, PHONE, EMAIL_ADDR |
STDNT_CAR_TERM | UNT_TAKEN_PRGRSS |
CLASS_TBL_SE_VW | SUBJECT, CATALOG_NBR , CLASS_SECTION, CRSE_GRADE_OFF |
STDNT_TEST_COMP | TEST_ID, TEST_COMPONENT, TEST_DT, SCORE |
Expressions:
Few 'Expressions' have been added to find 'Academic Level' have described the prompt as null and define the value of 'ACP' and 'APS'. Reference for Service Indicator: Service IndicatorsREGENTS' math test score.
TEST_ID and TEST_COMPONENT have been used as left outer join in different manner to find 'SMA3' and 'RGNTS'.
Prompt:
Institution, Career, Term From and Term To have been mandatory for an user to input and Degree, ACAD_PROG, ACAD_PLAN are optional to extract more precise to retrieve data.
Criteria:
ACAD_PROG_STATUS CAREER is 'ACUGRD' because the report is based on active undergradute students. Added 2 service indicator records to define 'APS' and 'ACP' with their reason code. Create join with ACAD_PLAN with ACAD_SUB_PLAN to define the major concentration. PROG_ACTION is 'MATR' matriculated to find current enrollment of a given semester.
AND B.EMPLID = G.EMPLID (+)
AND ( G.TEST_ID (+) = 'RGNTS'
AND G.TEST_COMPONENT (+) IN ('SMA3','MATHB')) ))
The left outer join has been defined differently to pull Regents with other math courses such as ('090828','093130','093135','093157','093160') .
Query Prompt:
Query Output Image:
SQL Summery:
Panel | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...