Next Greater Integer Leetcode Sql Solutions