Skip to content

Commit

Permalink
Merge pull request #658 from bcgov/grad-release
Browse files Browse the repository at this point in the history
Grad release 1.21.0
  • Loading branch information
githubmamatha authored Jun 19, 2024
2 parents f84712f + 609dfc3 commit 79ffb68
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ca.bc.gov.educ</groupId>
<artifactId>educ-grad-student-api</artifactId>
<version>1.8.59</version>
<version>1.8.60</version>
<name>educ-grad-student-api</name>
<description>Student Demographics API for GRAD team</description>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
CREATE OR REPLACE VIEW REPORT_GRAD_SCHOOL_YE_VW AS
SELECT
COUNT(GRADUATION_STUDENT_RECORD_ID) STUD_NUM,
-- Revert code back to school of record GRAD2-2758
--SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3) MINCODE
A1.SCHOOL_OF_RECORD MINCODE
FROM
GRADUATION_STUDENT_RECORD A1
WHERE
A1.PROGRAM_COMPLETION_DATE is null
AND A1.STUDENT_STATUS_CODE = 'CUR'
AND (A1.STUDENT_GRADE ='AD' or A1.STUDENT_GRADE='12')
--GROUP BY SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3)
GROUP BY A1.SCHOOL_OF_RECORD
ORDER BY 1 DESC;

CREATE OR REPLACE VIEW REPORT_GRAD_DISTRICT_YE_VW AS
SELECT DISTINCT
-- Revert code back to school of record GRAD2-2758
--SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3) MINCODE
SUBSTR(A1.SCHOOL_OF_RECORD, 0, 3) MINCODE
FROM
GRADUATION_STUDENT_RECORD A1
WHERE
A1.PROGRAM_COMPLETION_DATE is null
AND A1.STUDENT_STATUS_CODE = 'CUR'
AND (A1.STUDENT_GRADE ='AD' or A1.STUDENT_GRADE='12')
--GROUP BY SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3)
GROUP BY SUBSTR(A1.SCHOOL_OF_RECORD, 0, 3)
ORDER BY 1 DESC;


0 comments on commit 79ffb68

Please sign in to comment.