![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
i need a sql-statement for this problem i ve got a table like this ID;value 1;30 2;34 3;44 the result of sql-statement should calculate differences to previous/other datasets like this ID;diff 1; 30-0 2; 34-30 3; 44-34 who can solve this problem elegant? |
#3
| |||
| |||
|
|
i need a sql-statement for this problem i ve got a table like this ID;value 1;30 2;34 3;44 the result of sql-statement should calculate differences to previous/other datasets like this ID;diff 1; 30-0 2; 34-30 3; 44-34 who can solve this problem elegant? |
![]() |
| Thread Tools | |
| Display Modes | |
| |