From a6ce888fecfe81a1cdde5cbe3c7683b58fdcd6ba Mon Sep 17 00:00:00 2001 From: Marlies Winterstein Date: Mon, 2 Jun 2025 17:59:01 +0200 Subject: [PATCH] =?UTF-8?q?weitere=20berechnete=20Spalten=20in=20Tabelle?= =?UTF-8?q?=20eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schluesseltabellen/studierende_datenblatt_dashboard.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src-modules/module/viz/schluesseltabellen/studierende_datenblatt_dashboard.sql b/src-modules/module/viz/schluesseltabellen/studierende_datenblatt_dashboard.sql index fb91c32..f9361f7 100644 --- a/src-modules/module/viz/schluesseltabellen/studierende_datenblatt_dashboard.sql +++ b/src-modules/module/viz/schluesseltabellen/studierende_datenblatt_dashboard.sql @@ -13,10 +13,11 @@ select name -drop view if exists rpta_sos_hzb_bland; -create view rpta_sos_hzb_bland as +drop table if exists rpta_sos_hzb_bland; +create table rpta_sos_hzb_bland as select W.astat as wohnsitz_astat, W.bland as wohnsitz_bland, B.druck as bland_druck, B.astat as bland_astat from sos_hzb_wohnsitz W, sos_k_bland B where W.bland=B.apnr; +create index ix_wohnsitz_bland on rpta_sos_hzb_bland(wohnsitz_astat); select 'sos_stud_astat_dashboard' as tablename, 'geschlecht_str' as uniquename ,