In this video, we will talk about rows between clause used in OLAP function in SQL. For window function, you need to define the range of rows to participate in operation. It could be range for partition or ordering of rows in OLAP function.
Some common specifications are:
UNBOUNDED PRECEDING: All rows before current row are considered.
UNBOUNDED FOLLOWING: All rows after the current row are considered.
CURRENT ROW: Range starts or ends at CURRENT ROW.
Below is the link of post referred in this video:
Leave a comment if you have any feedback.