$ 0 0 this one might give a better picture than the previous one Sys Num, ID, Descr 0001, 10, Provider 0001, 10, Pro 0002, 84, Service 0003, 24, Buisness 0003, 24, Admin 0003, 24, Finance 0004, 41, PhilosophyExpected o/p is Sys Num, ID, Descr, Sum 0001, 10, Provider -1 0001, 10, Pro -1 0002, 84, Service -2 0003, 24, Buisness -3 0003, 24, Admin -3 0003, 24, Finance -3 0004, 41, Philosophy -4
this one might give a better picture than the previous one
Sys Num, ID, Descr
0001, 10, Provider
0001, 10, Pro
0002, 84, Service
0003, 24, Buisness
0003, 24, Admin
0003, 24, Finance
0004, 41, Philosophy
Expected o/p is
Sys Num, ID, Descr, Sum
0001, 10, Provider -1
0001, 10, Pro -1
0002, 84, Service -2
0003, 24, Buisness -3
0003, 24, Admin -3
0003, 24, Finance -3
0004, 41, Philosophy -4