请问关联查询的一问题

浏览:204 发布日期:2019/06/21 分类:求助交流
select a.id,a.sourcename,a.authorid, b.id AS b__id,b.uid AS b__uid,b.cid AS b__cid from ts_wffiles a LEFT JOIN ts_checkin b on a.id=b.cid and b.uid=8 where a.authorid=2 请问这样left jion后面on中有两个条件的,在关联模型中怎么写?

最佳答案
评论( 相关
后面还有条评论,点击查看>>