Permutation With Case Change Leetcode Sql Queries