Is it possible to compare two records from the same table?
For example:
I have a database with a table called STEP1.
The table contain columns: STEP1_ID, Amount1, Amount2, Date
If my record have the values like this:
ID=1, Amount1 = 500, Amount2 = 300, Date = 2019-03-01
Now i want to compare this record to another record.
Compare Amount1 and 2 to another record (row). So i can get the difference between the values.
Each record is for me a Repport. Each repport contains values that i want to compare to other repports so i can see any big fluctuation.
For example:
I have a database with a table called STEP1.
The table contain columns: STEP1_ID, Amount1, Amount2, Date
If my record have the values like this:
ID=1, Amount1 = 500, Amount2 = 300, Date = 2019-03-01
Now i want to compare this record to another record.
Compare Amount1 and 2 to another record (row). So i can get the difference between the values.
Each record is for me a Repport. Each repport contains values that i want to compare to other repports so i can see any big fluctuation.