Gaps and Islands solution in Oracle - use of recursive
问题 I have a problem that could be easily solved using curser in Oracle. However, I wonder if that could be done using select only. I have 1 data set that contains the following fields: Start, Description, MaximumRow, SequentialOrder. The data set is ordered by Description, Start, SequentialOrder. This is the data for illustration purpose: I would like to get the following results in a different data set (Start, End, Description) where Start is the minimum of the "Start" field in a set and End is