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" = 2024 and "Semester" = '2') 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;136 rows
get_mother_college | Religion | count |
---|---|---|
College of Arts and Humanities | SDA | 314 |
College of Arts and Humanities | RC | 54 |
College of Arts and Humanities | 26 | |
College of Arts and Humanities | CHR | 19 |
College of Arts and Humanities | BAC | 14 |
College of Arts and Humanities | BAP | 4 |
College of Arts and Humanities | SDA-REFORM | 4 |
College of Arts and Humanities | CCF | 4 |
College of Arts and Humanities | AGNO | 4 |
College of Arts and Humanities | ISL | 3 |
College of Arts and Humanities | None | 3 |
College of Arts and Humanities | JIL | 2 |
College of Arts and Humanities | PROT | 2 |
College of Arts and Humanities | INC | 2 |
College of Arts and Humanities | N/A | 2 |
College of Arts and Humanities | EVC | 2 |
College of Arts and Humanities | ATHEIST | 1 |
College of Arts and Humanities | MET | 1 |
College of Arts and Humanities | BUD | 1 |
College of Arts and Humanities | HIN | 1 |
College of Arts and Humanities | PIC | 1 |
College of Business | SDA | 458 |
College of Business | RC | 72 |
College of Business | 35 | |
College of Business | CHR | 19 |
College of Business | BAC | 11 |
College of Business | SDA-REFORM | 5 |
College of Business | INC | 5 |
College of Business | UCCP | 3 |
College of Business | N/A | 2 |
College of Business | PENTE | 2 |
College of Business | BAP | 2 |
College of Business | ISL | 2 |
College of Business | CCF | 2 |
College of Business | JW | 1 |
College of Business | MET | 1 |
College of Business | ANGLICAN | 1 |
College of Business | MOR | 1 |
College of Business | COG | 1 |
College of Business | AGNO | 1 |
College of Business | VCC | 1 |
College of Dentistry | SDA | 219 |
College of Dentistry | RC | 62 |
College of Dentistry | 28 | |
College of Dentistry | BAC | 20 |
College of Dentistry | CHR | 16 |
College of Dentistry | INC | 3 |
College of Dentistry | PROT | 2 |
College of Dentistry | SDA-REFORM | 2 |
College of Dentistry | JIL | 2 |
College of Dentistry | CCF | 1 |
College of Dentistry | AGNO | 1 |
College of Dentistry | JMC | 1 |
College of Dentistry | MOR | 1 |
College of Dentistry | ADD | 1 |
College of Dentistry | UCG | 1 |
College of Dentistry | PENTE | 1 |
College of Dentistry | None | 1 |
College of Dentistry | COG | 1 |
College of Dentistry | MET | 1 |
College of Dentistry | VCC | 1 |
College of Education | SDA | 202 |
College of Education | RC | 8 |
College of Education | 8 | |
College of Education | SDA-REFORM | 5 |
College of Education | CHR | 4 |
College of Education | BAC | 3 |
College of Education | None | 2 |
College of Education | INC | 1 |
College of Education | EVC | 1 |
College of Education | BAP | 1 |
College of Health | SDA | 336 |
College of Health | RC | 78 |
College of Health | 29 | |
College of Health | BAC | 22 |
College of Health | None | 15 |
College of Health | CHR | 12 |
College of Health | N/A | 8 |
College of Health | BAP | 6 |
College of Health | SDA-REFORM | 5 |
College of Health | PROT | 3 |
College of Health | PIC | 3 |
College of Health | ISL | 3 |
College of Health | UCCP | 2 |
College of Health | INC | 1 |
College of Health | MET | 1 |
College of Health | PENTE | 1 |
College of Health | EVC | 1 |
College of Health | ANGLICAN | 1 |
College of Medicine | SDA | 92 |
College of Medicine | RC | 16 |
College of Medicine | 9 | |
College of Medicine | BAC | 8 |
College of Medicine | CHR | 4 |
College of Medicine | None | 1 |
College of Medicine | PIC | 1 |
College of Medicine | ADD | 1 |
College of Medicine | N/A | 1 |
College of Medicine | JIL | 1 |
College of Medicine | MESJUD | 1 |
College of Nursing | SDA | 510 |
College of Nursing | RC | 103 |
College of Nursing | 63 | |
College of Nursing | CHR | 23 |
College of Nursing | BAC | 14 |
College of Nursing | SDA-REFORM | 5 |
College of Nursing | BAP | 5 |
College of Nursing | PROT | 5 |
College of Nursing | ISL | 5 |
College of Nursing | INC | 4 |
College of Nursing | PENTE | 3 |
College of Nursing | PIC | 2 |
College of Nursing | ATHEIST | 2 |
College of Nursing | ADD | 2 |
College of Nursing | None | 1 |
College of Nursing | COG | 1 |
College of Nursing | AGNO | 1 |
College of Nursing | BUD | 1 |
College of Nursing | CCF | 1 |
College of Nursing | N/A | 1 |
College of Nursing | MET | 1 |
College of Science and Technology | SDA | 111 |
College of Science and Technology | RC | 16 |
College of Science and Technology | 11 | |
College of Science and Technology | None | 3 |
College of Science and Technology | BAC | 3 |
College of Science and Technology | MOR | 2 |
College of Science and Technology | CHR | 2 |
College of Science and Technology | BAP | 1 |
College of Science and Technology | PROT | 1 |
College of Science and Technology | SDA-REFORM | 1 |
College of Science and Technology | AGNO | 1 |
College of Theology | SDA | 117 |
College of Theology | CHR | 4 |
SDA | 2 | |
RC | 1 |