Leetcode Sql Window Functions Syntax C