Next Greater Element Ii Leetcode Sql