Next Greater Integer Leetcode Problems Sql