版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hzq450013155/article/details/81211010
select * from table where
REGEXP_LIKE(字段名, '(匹配串1|匹配串2|...)') ;//全模糊匹配
select * from table where
REGEXP_LIKE(字段名, '^(匹配串1|匹配串2|...)') ;//右模糊匹配
select * from table where
REGEXP_LIKE(字段名, '(匹配串1|匹配串2|...)$') ;//左模糊匹配