用java代码怎么通过ElasticSearch的接口来查询数据

2025-03-26 00:57:54
推荐回答(1个)
回答1:

两表根据两个字段关联即可
如 select distinct b.type_name from news a,news_type b where a.news_type_id= b.type_id and a.news_type_id = '1'