select * from table where MATCH(title) AGAINST ('+hello +world' IN BOOLEAN MODE)
这样会匹配到title字段含有hello或world的记录,
我现在只想得到包含hello world的记录应该怎么写呢?
这样会匹配到title字段含有hello或world的记录,
我现在只想得到包含hello world的记录应该怎么写呢?
调试欢乐多
select * from table where instr(title,"hello world")=1