String Permutations By Changing Case Leetcode Sql Queries