LIKE 条件中的多个字符串 - Presto SQL

kev*_*kev 2 sql presto

我想使用LIKE条件查询表中的列,这很好用 -

select * from my_table where my_column LIKE '%hello%';
Run Code Online (Sandbox Code Playgroud)

但是,如何在我的LIKE条件中使用多个字符串查询此列?寻找类似的东西-

select * from my_table where my_column LIKE ['%hello%'|'example%'|'%random%'|'%demo'];
Run Code Online (Sandbox Code Playgroud)

Gor*_*off 6

使用regexp_like()

select *
from my_table
where regexp_like(my_column, 'hello|example|random|demo');
Run Code Online (Sandbox Code Playgroud)