diff --git a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql index 17d30bc..b0efa39 100644 --- a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql +++ b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql @@ -17,12 +17,15 @@ update xcube set restriction='<> ' where maskeninfo_id=21000; update xcube set restriction= - --nur Abschlussprüfungen - 'pnr = 1 and abschnitt = 2 + --nur Abschlussprüfungen, interessanterweise gibt es auch pnr=11!? + + 'abschnitt = 2 + --alle normalen Abfragen joinen mit lehr_stg_ab, deshalb sicherheitshalber + and tid_stg in (select tid from lehr_stg_ab) and pstatus = <> and <> and sem_der_pruefung >= <> - /*and sem_der_pruefung <= <>*/ + /* and sem_der_pruefung <= <>*/ /* and stichtag = <> */ /* and tid_stg in (select tid from dim_studiengang where abschluss in <@printkeys Abschluss.allNeededKeysList />) --<> */ /* and ''s_'' || tid_stg::char(10) in <@printkeys Studiengang.allNeededKeysList /> --<> */