Hi All
I am trying to achieve below scenario using SQL only on Oracle 11.2.0. There can be multiple records for a given priority level and their start and end dates can overlap as shown in below input data table and diagram. It is needed to extract the duration (start date, end date) of each priorities as shown in output table and last line (in color)
Can this be achieved using SQL only. Any help on this is highly welcome.

Thanks in advance
Message was edited by: 895838