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.

Anfaegerfrage - SQL Abfrage

Empfohlene Antworten

Hallo zusammen,

ich hoffe es findet sich hier jemand der mir bei meiner Anfaengerfrage weiterhelfen kann.

Folgender Ausgangspunkt:

Ich habe eine Tabelle die wie folgt aufgebaut ist:

Vertreter - Belegnummer - Betrag (Euro)

101 100124 20000

102 100254 15000

101 100456 45000

102 100472 30000

Kann mir jemand helfen und mir sagen, wie die SQL Abfrage auszusehen hat, wenn ich nur den kumulierten Umsatz je Verterter sehen moechte?

Das Resulat sollte so ausschauen:

Vertreter - Betrag

101 65000

102 45000

Besten Dnak im Voraus.

select vertreter, sum(betrag) as Kum_Umsatz

from knurpsel

group by vertreter

;

select vertreter, sum(betrag) as Kum_Umsatz

from knurpsel

group by vertreter

;

reinhold hat recht, aber solche abfragen sind ganz einfach mit google rauszufinden.

SQL Tutorial

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.