Hi,
I have a time line with fixed intervals [Time_interval] and Events the task is to generate a query that will have a new field [Resourse] in a way that after each event we get in the next 2 consecutive intervals 1 resource.
Time_interval Event Resourse 2 yes 1 3 1 4 5 6 yes 1 7 yes 2 8 1 9 10 yes 1 11 1 12 13
thanks in advance