sql联表查询问题

2025-04-08 06:26:24
推荐回答(1个)
回答1:

select a.title,b.type_name from news_table as a,name_table as b where a.type_id=b.type_id ; 如果后面还要对选择的新闻加上限制的话,where后面跟上 and a.nid=? 希望我的回答对你有所帮助!