"SELECT community_news.id, community_news.status, community_news.admin_id, " + s"community_news.author_type, community_news.rss_id, community_news.is_in_whitelist, " + s"community_news.publish_type, community_show_tag.weight, community_show_tag.tag_id FROM " + s"community_news LEFT JOIN community_show_tag ON community_news.id = community_show_tag.item_id " + s"where community_show_tag.item_id is not null and community_show_tag.is_semantic=1 and community_news.id"
sql语句连接两张数据库表
最新推荐文章于 2024-06-05 19:41:33 发布