好的,我有一张这样的表:http://i.imgur.com/IPUSe.png
我正试图在MySQL搜索查询中找到combined_names
coloumn中的匹配项。
我用它来搜索这个查询:SELECT * FROM players WHERE match(combined_names) against('Lin')
在phpmyadmin中运行查询后,我得到了这个:MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0005 sec )
SELECT * FROM players WHERE match(combined_names) against('Dejan')
给了我Showing rows 0 - 0 ( 1 total, Query took 0.0007 sec) [id: 1 - 1]
所以它有效!
好吧,让我们尝试将Lin
和combined_names
中的forename
更改为... Tester
,然后我们执行:SELECT * FROM players WHERE match(combined_names) against('Tester')
Showing rows 0 - 0 ( 1 total, Query took 0.0006 sec) [id: 3 - 3]
怪异。将Lin
更改为Tester
后,它就有效......为什么。
答案 0 :(得分:1)