Hello,
I have the following table
SHIFTINDEX EQMT OPERATOR STARTTIME ENDTIME
100 418 UNKNOWN 0 1400
100 418 LUKE 1400 2800
100 418 LUKE 2800 3600
100 418 LUKE 3600 5000
100 418 LUKE 5000 20000
100 418 LUKE 20000 40000
100 418 UNKNOWN 40000 43200
Output needed -- For the same SHIFTINDEX and EQMT operator groups are formed and STARTTIME and ENDTIME are assigned.
SHIFTINDEX EQMT OPERATOR STARTTIME ENDTIME
100 418 UNKNOWN 0 1400
100 418 LUKE 1400 40000
100 418 UNKNOWN 40000 43200
Any help would be appreciated.