mysql数据库如何搜索关键词?

mysql数据库如何搜索关键词


犯罪嫌疑人X
浏览 2320回答 3
3回答

大话西游666

办法如下:select * from table1 where concat(`字段`,`字段`,`字段` ) like '%关键字%' unionselect * from table2 where concat(`字段`,`字段`,`字段` ) like '%关键字%' unionselect * from table3 where concat(`字段`,`字段`,`字段` ) like '%关键字%' unionselect * from table4 where concat(`字段`,`字段`,`字段` ) like '%关键字%' unionselect * from table5 where concat(`字段`,`字段`,`字段` ) like '%关键字%' 前提是查询出来的字段个数要一样,类型要对应好,至于如何得到正确且符合你需要的sql就要在程序类中处理了。

慕的地8271018

想在web of science数据库中查找知识管理方面相关论文,请问如何按关键词搜索?尤其是关键词是词组,knowledge management,如何使搜索到的词组不被分离,多了很多带有knowledge 与 management 两个词间隔的冗余文章。已解决,只需在搜索框里输入(“knowledge management”)即可!
打开App,查看更多内容
随时随地看视频慕课网APP