以下是我的表输出。我希望使用结果中包含的多个字符串来查找结果。
例如:我需要获得的结果包含["","","你"]
column A
-----------------
how are you?
How about you?
how are you going?
how are you doing?
What up?
What is up?
Are you alright?
答案 0 :(得分:1)
任何一个单词
select * from tablename where [column A] like '%how%' or [column A] like '%are%' or [column A] like '%you%'
所有单词
select * from tablename where [column A] like '%how%' and [column A] like '%are%' and [column A] like '%you%'
所有单词一起
select * from tablename where [column A] like '%how are you%'