tp中获取一张表的id大于多少怎么解决

2025-04-03 09:01:56
推荐回答(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'