Describe the bug
With window frame present and frame type = RANGE, order by must be present with 1 column.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should check for this boundary case
Additional context
- https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS
- https://www.sqlite.org/windowfunctions.html#frame_type