Quote: 引用:你可以查询两次1.查询文章id=1的明细select * from article where id=12.查询文章article_id=1的回复select *from comment where article_id=1大概是这么个意思,供参考我能不能不要2次 我这个要发给客户端呢 我用leftjoin后 怎么渲染呢
你可以查询两次1.查询文章id=1的明细select * from article where id=12.查询文章article_id=1的回复select *from comment where article_id=1大概是这么个意思,供参考