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.

zwei addierte Spalte nochmal zusammenaddieren?

Empfohlene Antworten

Hallo,

ich habe folgendes Problem:

Ich lasse per SQL der Wert mehrere Spalten addieren und ausgeben:

SELECT wert1 + wert2 + wert3 AS "zw1", wert4 + wert 5 AS "zw2" ...
Kann ich die beiden zwischenwerte jetzt noch als Gesamtwert ausgeben lassen? Wenn ich jetzt
"zw1" + "zw2" as "Gesamt"

mache, kriege ich ein SQL Fehler...

Gibts da eine Möglichkeit?

Ach ja, es handelt sich um eine Oracle 9.2 DB

Danke & Gruß

LordK

Oder mach


SELECT zw1, zw2, zw1 + zw2 gesamt FROM

SELECT wert1 + wert2 + wert3 AS "zw1", wert4 + wert 5 AS "zw2"...


Oder mach


SELECT zw1, zw2, zw1 + zw2 gesamt FROM

SELECT wert1 + wert2 + wert3 AS "zw1", wert4 + wert 5 AS "zw2"...


Cool Danke :D

wusste gar nicht, dass sowas geht :bimei

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.