[Quote=引用 2 楼 oulin1983 的回复:]
引用楼主 cp713 的帖子:
比如一个表多字段 a b c
如何查询 a b c随便哪个字段包含 '1' 就可以了
select * from 表 where a,b,c like ’%1%’
[/Quote]
这个方法是可以的
select * from 表 where a like '*1*'or b like '*1*'or c like '*1*'
你那个
select * from 表 where a,b,c like ’%1%’
好使不 如果好使 还是你那个方便点
另外在问下 %1%和*1*有什么区别