我遇到了一个小问题:
SELECT * FROM tableName tn WHERE LOWER(tn.name) = LOWER('place_string_here');
当它完美匹配时,这是可以的:
tn.name = orange_tree
place_string_here = Orange_Tree
但我的问题是:国家字符,例如:
Hästgård
我希望"Hästgård"能够匹配: Hästgård, Hästgard, Hastgård和/或 Hastgard
有没有什么聪明的方法来做到这一点?