It seems I chose the wrong default for window frames. It should rather be RANGE instead of ROWS.
[https://voiceofthedba.com/2018/12/13/the-default-frame-for-window-functions/|https://voiceofthedba.com/2018/12/13/the-default-frame-for-window-functions/|smart-link]
[https://stackoverflow.com/questions/47130030/whats-the-default-window-frame-for-window-functions|https://stackoverflow.com/questions/47130030/whats-the-default-window-frame-for-window-functions|smart-link] |
|