You can use both RANGE and ROWS in the analytic window clause. In this workout, Kim Berg Hansen, Dev Gym SQL Quizmaster, offers an article from his blog explaining use cases for these two options. After you finish the article, try out his quizzes on the same topic.