select get_mother_college, "Religion", count(*) from (select "Religion", get_mother_college(get_student_course) from students2, (select *, get_student_course(20000000+"Student ID") from (select distinct ("Student ID") from grades where "Year" = 2026 and "Semester" = '1') as foo) as bar where students2."Student ID" = bar."Student ID" order by get_mother_college, get_student_course) as bar2 group by get_mother_college, "Religion" order by get_mother_college, count desc;141 rows
| get_mother_college | Religion | count |
|---|---|---|
| College of Arts and Humanities | SDA | 283 |
| College of Arts and Humanities | 170 | |
| College of Arts and Humanities | RC | 39 |
| College of Arts and Humanities | CHR | 18 |
| College of Arts and Humanities | BAC | 9 |
| College of Arts and Humanities | SDA-REFORM | 5 |
| College of Arts and Humanities | INC | 5 |
| College of Arts and Humanities | None | 4 |
| College of Arts and Humanities | ISL | 4 |
| College of Arts and Humanities | BAP | 4 |
| College of Arts and Humanities | AGNO | 3 |
| College of Arts and Humanities | VCC | 2 |
| College of Arts and Humanities | CCF | 2 |
| College of Arts and Humanities | JW | 1 |
| College of Arts and Humanities | UCCP | 1 |
| College of Arts and Humanities | PIC | 1 |
| College of Arts and Humanities | N/A | 1 |
| College of Arts and Humanities | EVC | 1 |
| College of Business | SDA | 352 |
| College of Business | 195 | |
| College of Business | RC | 50 |
| College of Business | None | 45 |
| College of Business | CHR | 21 |
| College of Business | BAC | 10 |
| College of Business | INC | 7 |
| College of Business | SDA-REFORM | 5 |
| College of Business | VCC | 2 |
| College of Business | CCF | 2 |
| College of Business | BUD | 2 |
| College of Business | PIC | 2 |
| College of Business | BAP | 2 |
| College of Business | PROT | 2 |
| College of Business | PENTE | 1 |
| College of Business | COG | 1 |
| College of Business | AGNO | 1 |
| College of Business | EVC | 1 |
| College of Business | MET | 1 |
| College of Business | N/A | 1 |
| College of Business | UCCP | 1 |
| College of Business | ANGLICAN | 1 |
| College of Business | ISL | 1 |
| College of Dentistry | SDA | 273 |
| College of Dentistry | 130 | |
| College of Dentistry | RC | 69 |
| College of Dentistry | CHR | 20 |
| College of Dentistry | BAC | 18 |
| College of Dentistry | INC | 4 |
| College of Dentistry | None | 4 |
| College of Dentistry | MOR | 2 |
| College of Dentistry | PROT | 2 |
| College of Dentistry | ISL | 2 |
| College of Dentistry | SDA-REFORM | 2 |
| College of Dentistry | JIL | 2 |
| College of Dentistry | PENTE | 2 |
| College of Dentistry | JW | 1 |
| College of Dentistry | VCC | 1 |
| College of Dentistry | JMC | 1 |
| College of Dentistry | MET | 1 |
| College of Dentistry | AGNO | 1 |
| College of Dentistry | ADD | 1 |
| College of Dentistry | UCG | 1 |
| College of Dentistry | HIN | 1 |
| College of Dentistry | COG | 1 |
| College of Health | SDA | 297 |
| College of Health | 151 | |
| College of Health | RC | 54 |
| College of Health | N/A | 9 |
| College of Health | CHR | 8 |
| College of Health | BAP | 7 |
| College of Health | BAC | 7 |
| College of Health | None | 5 |
| College of Health | PROT | 4 |
| College of Health | SDA-REFORM | 3 |
| College of Health | ISL | 3 |
| College of Health | VCC | 2 |
| College of Health | PENTE | 1 |
| College of Health | PIC | 1 |
| College of Health | UCCP | 1 |
| College of Health | EVC | 1 |
| College of Health | INC | 1 |
| College of Health | CCF | 1 |
| College of Health | ADD | 1 |
| College of Health | MET | 1 |
| College of Medicine | 107 | |
| College of Medicine | SDA | 81 |
| College of Medicine | RC | 25 |
| College of Medicine | BAC | 10 |
| College of Medicine | CHR | 4 |
| College of Medicine | JIL | 2 |
| College of Medicine | N/A | 1 |
| College of Medicine | MESJUD | 1 |
| College of Medicine | PIC | 1 |
| College of Medicine | PENTE | 1 |
| College of Nursing | SDA | 545 |
| College of Nursing | 392 | |
| College of Nursing | RC | 81 |
| College of Nursing | CHR | 23 |
| College of Nursing | BAC | 21 |
| College of Nursing | None | 9 |
| College of Nursing | SDA-REFORM | 8 |
| College of Nursing | PROT | 7 |
| College of Nursing | INC | 7 |
| College of Nursing | ISL | 4 |
| College of Nursing | N/A | 3 |
| College of Nursing | BAP | 3 |
| College of Nursing | PENTE | 3 |
| College of Nursing | AGNO | 2 |
| College of Nursing | UCG | 1 |
| College of Nursing | VCC | 1 |
| College of Nursing | ATHEIST | 1 |
| College of Nursing | PIC | 1 |
| College of Nursing | BUD | 1 |
| College of Nursing | UCCP | 1 |
| College of Science, Engineering and Technology | SDA | 14 |
| College of Science, Engineering and Technology | 5 | |
| College of Teacher Education | SDA | 219 |
| College of Teacher Education | 74 | |
| College of Teacher Education | SDA-REFORM | 8 |
| College of Teacher Education | RC | 8 |
| College of Teacher Education | CHR | 5 |
| College of Teacher Education | EVC | 3 |
| College of Teacher Education | None | 3 |
| College of Teacher Education | ISL | 2 |
| College of Teacher Education | BAC | 2 |
| College of Teacher Education | VCC | 2 |
| College of Teacher Education | BAP | 1 |
| College of Teacher Education | PROT | 1 |
| College of Teacher Education | PIC | 1 |
| College of Teacher Education | INC | 1 |
| College of Theology | SDA | 115 |
| College of Theology | 32 | |
| College of Theology | None | 2 |
| College of Theology | CHR | 1 |
| SDA | 108 | |
| 43 | ||
| RC | 13 | |
| CHR | 3 | |
| None | 2 | |
| SDA-REFORM | 2 | |
| PROT | 2 | |
| BAC | 1 |