Generate All Substring Leetcode Sql Challenges