ITeye博客

mysql

共 1 篇文章

match against

match against Full-Text 在5.6之前 只能用于 MyISAM ,5.6开始 可用于InnoDB id name 1 张三 2 张四 3 张五 4 李三 5 李四 6 李五 1. Boolead Full-text Searches 说明: + AND - AND NOT space or ### select * from table_xxx_user where match(name) against(‘+张 -四 -五’ IN BOOLEAN MODE) 结果: 1 张三 ### select * from table_xxx_user where match(n…

2016-11-16 19:47 · mysql · MySQL · match · text