【发布时间】:2009-08-24 20:59:20
【问题描述】:
我有 3 个表,我想查询一个搜索词文本框。我的查询目前看起来像这样:
SELECT Artist.* FROM Artist, Band, Instrument WHERE MATCH (Artist.name) AGAINST ('mysearchterm') OR MATCH (Band.name) AGAINST ('mysearchterm') OR MATCH (Instrument.name, Instrument.description) AGAINST ('mysearchterm');
此查询的执行时间过长。有什么办法可以改善这一点吗?我做错了吗?
谢谢
【问题讨论】: