Minimum Length Substrings Leetcode Sql Queries Insert Drop