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 Abfrage

Empfohlene Antworten

hallo,

ich habe folgende tabelle:


Spalte A | Spalte B
-------------------------
A | 1
A | 2
B | 4
B | 1
C | 4
[/PHP]

in dieser tabelle möchte ich jetzt alle A- Werte (1 + 1), alle B- Werte (4 + 1) und alle C- Werte (4) aufaddieren. Dabei soll dann solch eine Tabelle herauskommen:

[PHP]
Spalte A | Spalte B
------------------------------
A | 3
B | 5
C | 4

Weiß jemand wie ich das hinbekommen kann ??? Dazu verwende ich übrigens MS Access 97, sollte also damit laufen.

Hi!

Du machst Dir einfach eine neue Abfrage und ziehst die beiden Felder rein.

Dann schaltest Du die Funktionen ein ( Summenzeichen in der Symbolleiste ).

Bei Spalte A stellst Du "Gruppierung" ein und bei Spalte B "Summe" und schon hast Du Dein Ergebnis.

Voraussetzung ist aber, das Spalte B eine Zahl ist.

Zum Schluß kannst Du eine Tabellenerstellungsabfrage draus machen und schon hast Du das gewünschte Ergbnis.

Gruss

Jetzt weiß ich auch wozu dieser Knopf gut ist. Wollte ich doch schon immer einmal ausprobieren. Klappt alles Super. Besten Dank.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.