Windows are also defined based on the rank of a value of a column.
So far, all of the windows you've defined have retained the newest rows (rows that arrived most recently), whether the window was count-based or time-based. You can also define a window policy that retains rows based on the rank of a value of a column, so that the window doesn't necessarily retain the most recent rows.
Follow these steps to create a window that maintains rows with the largest value in a specific column:
Complete the following exercises to explore additional window capabilities. See Solutions for possible solutions to these exercises.