47090^Studiengangskombinationen NRW^--Freemarker Template\ <#include "SQL_lingua_franca"/>\ <#include "SuperX_general"/>\ \ SELECT --hs_nr,\ hochschulstandort,\ -- gueltig_ab_semester,\ -- gueltig_bis_semester,\ -- studienfach_land,\ studienfach_name,\ -- abschluss_land,\ -- stufrm,\ abschluss_name,\ regelstudienzeit,\ lehreinheit,\ studienfach_hochschule_name,\ array_to_string(array_agg(distinct stufrm_name order by stufrm_name),', ','') as stufrm_name,\ -- studientyp,\ array_to_string(array_agg(distinct studientyp_str order by studientyp_str),', ','') as studientyp_str\ from sxc_itnrw_sfmk S\ where 1=1\ /* and <> between gueltig_ab_semester and gueltig_bis_semester */\ \ /* and studienfach_land in (select L.schluessel from k_astat_studienfach_land L\ where '0' || L.keybund in <@printkeys Fächer.allNeededKeysList/> \ and L.land=5) --<> */\ \ /* and abschluss_land in (select substring(L.schluessel from 2 for 2) from k_astat_abschluss3steller_land L\ where substring(L.keybund from 2 for 2) in (<>)\ and L.land=5) */\ \ /* and hs_nr::varchar(255) in <@printkeys Hochschule.allNeededKeysList/> --<> */\ \ /* and (position(<> in studienfach_hochschule_name) >0 */\ /* OR position(<> in studienfach_name) >0 */\ /* OR position(<> in abschluss_name) >0 ) */\ \ /* and hs_nr in (select H.hs_nr from sxc_hochschulen H,sxc_hochschulen_hsk HSK, sxc_hsk_hochschultypen T\ where HSK.hsnr=H.hsk_laufnummer\ and HSK.hochschultyp = T.bezeichnung\ and T.laufnummer=<> ) */ \ \ /* and hs_nr in (select H.hs_nr from sxc_hochschulen H,sxc_hochschulen_hsk HSK, sxc_hsk_traegerschaftstypen T\ where HSK.hsnr=H.hsk_laufnummer\ and HSK.traegerschaft= T.bezeichnung\ and T.laufnummer=<> ) */ \ \ /* and standort_nr in (<>) */\ group by 1,2,3,4,5,6\ order by 1,2,3,4,5,6\ ;^XIL List\ sizable_columns horizontal_scrolling\ white_space_color=COLOR_WHITE fixed_columns=1\ drop_and_delete movable_columns\ min_heading_height=55\ Column CID=0 heading_text="Hochschule" explanation="@@@sos_semester@@@" center_heading\ row_selectable heading_platform readonly\ width=10\ Column CID=1 heading_text="Studienfach" explanation="@@@sos_gesamtzahl@@@" center_heading\ row_selectable col_selectable rightJust heading_platform\ readonly\ width=8\ Column CID=2 heading_text="Abschluss" explanation="" center_heading\ row_selectable col_selectable rightJust heading_platform readonly\ width=8\ Column CID=2 heading_text="Regelstudienzeit" explanation="" center_heading\ row_selectable col_selectable rightJust heading_platform readonly\ width=8\ Column CID=3 heading_text="Lehreinheit" explanation="" center_heading\ row_selectable col_selectable rightJust heading_platform readonly\ width=8\ Column CID=2 heading_text="Studiengangname Hochschule" explanation="" center_heading\ row_selectable col_selectable rightJust heading_platform readonly\ width=8\ Column CID=2 heading_text="Studienform" explanation="" center_heading\ row_selectable col_selectable rightJust heading_platform readonly\ width=8\ Column CID=2 heading_text="Studiumstyp" explanation="" center_heading\ row_selectable col_selectable rightJust heading_platform readonly\ width=8\ @@@^Semester^Anzahl^je Semester mit Geschlechtsangabe und Prozentwert^ ^-leer-^3^700^360^0^1^Quelle: https://www.it.nrw/system/files/media/document/file/studienfachmerkmalskombination_internetversion.xlsx^