select * from vis_provider where
FIND_IN_SET(('German'),CONCAT(
DoctarLanguage1,',',
DoctarLanguage2,',',
DoctarLanguage3,',',
DoctarLanguage4,',',
DoctarLanguage5,',',
DoctarLanguage6))
这个MySQL查询工作 我想是这样的搜索
select * from vis_provider where
FIND_IN_SET(('German','French'),CONCAT(
DoctarLanguage1,',',
DoctarLanguage2,',',
DoctarLanguage3,',',
DoctarLanguage4,',',
DoctarLanguage5,',',
DoctarLanguage6));
什么是您所遇到的问题?也请包括表格结构。 –
这已经在这里解决:http://stackoverflow.com/questions/5015403/mysql-find-in-set-with-multiple-search-string –
可能重复[MySQL查找\ _in \ _set与多个搜索字符串(http://stackoverflow.com/questions/5015403/mysql-find-in-set-with-multiple-search-string) – Alex