如何使用"多个字符串/子字符串匹配"?
编写查询示例:
SELECT * FROM table WHERE column LIKE ('%BD%','%IND%','%PK%','%USA%')
答案 0 :(得分:2)
试试这个:
select * from table where column like '%BD%' or column like '%IND%'or column like'%PK%' or column like'%USA%'
答案 1 :(得分:0)
select * from table
where regexp_like(column,'BD|IND|PK')