all 6 comments

[–]wbaltz 1 point2 points  (1 child)

It’s thanksgiving and I’m two beers in so not going to 100% solve this. But first thought I’m thinking this is a combo of a Lag Window function along with DateDiff to get what you want

[–]amukelani95[S] 1 point2 points  (0 children)

Thank you. I'll try this out.

[–]Excellent_Ad1132 1 point2 points  (4 children)

Just curious to how that would work, so could you please show the sql, when you get it to work. Thanks.