sql判断字符串是否包含某个字符串

SELECT * FROM ‘表名’ WHERE LOCATE(‘包含的字符串’,‘字段’) > 0

猜你喜欢

转载自blog.csdn.net/qq_44691484/article/details/106604969