我想查询Detail表中是在1994年“企业战略管理”学科的文章的数量,主要是根据摘要(Abstract)和文章名(Title)进行模糊查询。 查询语句: SELECT COUNT(*) AS Expr1 FROM Detail WHERE (Abstract LIKE '%strategy planning%') OR (Abstract LIKE '%strategy implementation%') or (Abstract LIKE '%Strategic management%') OR (Abstract LIKE '%core competence%') OR (Abstract LIKE '%corporate strategy%') OR (Abstract LIKE '%business strategy%') OR (Abstract LIKE '%Strategic analysis%') OR (Abstract LIKE '%Strategic evaluation%') OR (Abstract LIKE '%Strategic flexibility%') OR (Abstract LIKE '%strategic alliance%') or (Title LIKE '%strategy planning%') OR (Title LIKE '%strategy implementation%') or (Title LIKE '%Strategic management%') OR (Title LIKE '%core competence%') OR (Title LIKE '%corporate strategy%') OR (Title LIKE '%business strategy%') OR (Title LIKE '%Strategic analysis%') OR (Title LIKE '%Strategic evaluation%') OR (Title LIKE '%Strategic flexibility%') OR (Title LIKE '%strategic alliance%')
and Publication like '%1994%' 但是由于记录太多,还没等结果出来,sql就报错,说时间超时。 高手,能这样优化一下,谢谢! 我试过exists,但是还是显示出错的结果。