mysql判断一个字符串是否包含某几个字符

使用locate(substr,str)函数,如果包含,返回>0的数,否则返回0 

原文地址:https://www.cnblogs.com/vijayfly/p/6038956.html