Shortest Unique Substring Leetcode Sql