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