标签:图片 color spl opened table alt isp span class
$subQuery = $model::query() ->from(‘table1 as a‘) ->getQuery(); $query = $model::query() ->from(‘table2 as b‘) ->joinSub($subQuery, ‘sub‘, ‘sub.id‘, ‘=‘, ‘b.id‘);
Enjoy it !
标签:图片 color spl opened table alt isp span class
原文地址:https://www.cnblogs.com/daizhongxing/p/11526653.html