<sqldbsystem=""><![CDATA[SELECT 'Hochschulen'::varchar AS druck,
0 AS apnr,
NULL::integer AS parent,
0::smallint AS ebene
FROM xdummy
UNION
SELECT sxc_hsk_hochschultypen.bezeichnung AS druck,
sxc_hsk_hochschultypen.laufnummer AS apnr,
0 AS parent,
1 AS ebene
FROM sxc_hsk_hochschultypen
UNION
SELECT 'nicht zugeordnet'::varchar AS druck,
99 AS apnr,
0 AS parent,
1 AS ebene
FROM xdummy
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr AS apnr,
(( SELECT h.laufnummer
FROM sxc_hsk_hochschultypen h
WHERE h.bezeichnung = sxc_hochschulen.hrk_art))::integer AS parent,
2::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NOT NULL AND sxc_hochschulen.hs_nr_hauptsitz IS NULL
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr * 100 AS apnr,
(( SELECT h.laufnummer
FROM sxc_hsk_hochschultypen h
WHERE h.bezeichnung = sxc_hochschulen.hrk_art))::integer AS parent,
2::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NOT NULL AND sxc_hochschulen.hs_nr_hauptsitz = 1
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr AS apnr,
99 AS parent,
2::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NULL AND sxc_hochschulen.hrk_hauptsitz IS NULL
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr AS apnr,
sxc_hochschulen.hs_nr_hauptsitz * 100 AS parent,
3::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NULL AND sxc_hochschulen.hs_nr_hauptsitz IS NOT NULL
UNION
SELECT btrim(s.name::text) || ' (Hauptsitz)'::text AS druck,
s.hs_nr AS apnr,
s.hs_nr * 100 AS parent,
3::smallint AS ebene
FROM sxc_hochschulen s
WHERE s.hrk_laufnummer IS NOT NULL AND s.hs_nr_hauptsitz = 1 AND (EXISTS ( SELECT s1.hrk_hauptsitz
FROM sxc_hochschulen s1
WHERE s1.hs_nr = s.hs_nr));
]]></sql>
</view>
</views>
@ -110,6 +317,12 @@ parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
@@ -110,6 +317,12 @@ parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
<masketid="47060"name="Gesamtbericht Studierende nach Geschlecht und Nationalität"thema="Hochschulvergleich">
<description></description>
<src>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
</masken>
<data-integrity>
@ -142,8 +355,23 @@ parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
@@ -142,8 +355,23 @@ parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
47000^Hochschule^0^0^0^100^150^1^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('KENN-Kostenstellen-Sicht','KENN-Hochschulen-Sicht') order by sortnr, name;^^ ^
47000^Hochschule^0^0^0^100^150^1^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('SXC_Hochschulen-Sicht') and aktiv=1 order by sortnr, name;^^ ^
47001^Seit Semester^1^0^0^130^80^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^
47007^Bis Semester^3^330^-1^130^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^