0

Differenz zweier Datensätze berechnen

Hallo zusammen,

meine Tabelle hat die Felder „Datum“ und „Betrag“.

Die Tabelle hat derzeit 5 Datensätze (31.12.2019 … 31.12.2023)

Ich möchte nun den „Betrag“ des „Datum“s = 31.12.2019 vom „Betrag“ des „Datum“s = 31.12.2023 subtrahieren.

Wie lautet die Anweisung??

Besten Dank 

2 replies

null
    • Fred
    • 1 mth ago
    • Reported - view

    What are you looking for? The number of days between 31 Dec 2023 and 31 Dec 2019? or the number of years? number of months?

    • Norbert
    • 1 mth ago
    • Reported - view

    Thank you Fred for your question!

    I would like to subtract the database field "Amount" of the "Date" = 31.12.2019 from the "Amount" of the "Date" = 31.12.2023. Or subtract the difference of the "Amount" from "31.12.23" by the "Amount" from "31.12.2021".
     

Content aside

  • Status Answered
  • 1 mth agoLast active
  • 2Replies
  • 25Views
  • 2 Following