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=? 希望我的回答对你有所帮助!