Lower Bound Questions Leetcode Sql