sql 如何查询某列值包含a或者b或者c,条件怎么写,谢谢大家

2025年03月18日 10:20
有1个网友回答
网友(1):

select * from 表 where AA like '%a%'
union
select * from 表 where AA like '%b%'
union
select * from 表 where AA like '%c%'