Tags / sql-server-2019
How to Use SQL LEAD and LAG Window Functions to Solve Gaps-and-Islands Problems
2023-08-17