Previous Smaller Element Leetcode Sql