Leetcode Window Function Postgresql Create Role