mysql FIND_IN_SET的使用

FIND_IN_SET(str,strlist)函数

str 要查询的字符串

strlist 字段名 参数以”,”分隔 如 (1,2,6,8)

查询字段(strlist)中包含(str)的结果,返回结果为null或记录

 

参考:http://www.cnblogs.com/manongxiaobing/p/4682698.html

posted @ 2016-04-15 21:31  lifeinearth  阅读(155)  评论(0编辑  收藏  举报