Count Pairs With Given Sum Leetcode Sql