Originally Posted by
June7
A 2-minute timeframe in relation to what? Where should the calculation for grouping begin and end?
231 is not a group because the span is more than 2 minutes (3:37)
311 is not a group because span is 5:28
...and so on.
This makes it harder than what I originally thought (as in maybe a subquery) but I kind of doubt it is doable without code, as you say. It would require an inner and outer loop on a rs to say the least. Possibly made more difficult as there's no unique ID, so the chosen record has to be based on the original time value from a varying sized set of comparisons.
EDIT: Although not revealed, I presume the group size has to be 3, otherwise 11 is a group (56 seconds).
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.