Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SQL Hilfe bei erstellen von Query

Empfohlene Antworten

Veröffentlicht

Ich habe ein großes Problem mit dem erstellen von einem Query :( bitte um Mithilfe:

Erstellen Sie eine View "LV A-Summen", die pro LV A (LV ANR, LV A-Name, Typ, Std) die Summe der Stunden und die Anzahl der Termine ausgibt. Berücksichtigen Sie dabei, dass in der Tabelle "Abhaltung" pro Termin mehrere Datensätze für eine LVA enthalten sind, wenn diese von mehreren Vortragenden abgehalten wird. Minuten können jeweils als Dezimalstellen von Stunden ausgegeben werden. Auch weitere Views für Zwischenergebnisse sind erlaubt.

Lva{lvanr,name,std,typ}

Abhaltung{lvanr,persnr,von_stunde,von_minute,bis_minute,bis_stunde,tag}

Leider verstehe ich das meiste nicht ganz logisch:

ein ist mal klar für mich der Anfang ist:

Create view lva_summen as
dann folgt natürlich ein Select:
Select a.lvanr,l.name,Sum(l.std),l.typ FROM lva l, abhaltung a GROUP by count(a.persNr)

// Hier die Anzahl der Termine

Leider kommt da natürlich ein kompletter Blödsinn raus. Könnte ihr mir vielleicht logisch weiterhelfen und den Tipp geben wie ich aufpasse ob es 2mal abgehalten wird oder nicht?

danke

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.