姚鑫国的博客MySql比较运算符 正则式匹配BETWEEN的详细使用 一、初始化数据 DROP TABLE IF EXISTS `test_01`; CREATE TABLE `test_01` ( `id` int(0) NOT NULL, `stu` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_...
weixin_39753213的博客 car is red small return: false (there is no 'small' word in string) I use such a mysql query: SELECT name, desc FROM table WHERE CONCAT(name, desc) REGEXP ($keyword1)($keyword2) But it returns empty ...