意思是这样吗?不知道理解的对不对: table中f1的内容: 1 a,b,c 2 b,c 3 a,b,c,e, 4 c,d 字符串s1的内容: ,a,b,c,d, 想查出的结果有: 1 a,b,c 2 b,c 4 c,d 因为以上字串被 ,a,b,c,d,包含。。。。对吗? 如果这样的话, 可以试试: select * from table1 where instr(f1, s1)>0 还有一种比较笨的方法: select * from table1 where f1 in ('a,b','b,c','c,d','a,b,c','b,c,d') |