Subarray With Given Sum Hackerrank Sql Test