Hi,
I have a table that has Start and Stop time range with Duration, along with other columns as below ( The start and stop are always on the same day, doesn't span across days). I want to split the time range into hourly buckets and calculate the time spent in that hour bucket and retrieve as separate columns as shown below. The database is Oracle 11g.
Any help is appreciated please.
