richardh Solved 1 Months ago through
Puzzles
I tried to use LAG functions to score each row 1 for a new start row and 0 for others. So column has values of 1 and 0 eg 1,0,0,1,1,0,1 then uses SUM aggregate function to add all values together so becomes 1,1,1,2,3,3,4. Then use these values to group row