Sql Statement Like Pattern Matching Leetcode