发布网友 发布时间:2022-04-07 06:33
共1个回答
热心网友 时间:2022-04-07 08:02
$data=$user->alias('u')->join('(selecta.*,sum(money)summoneyfrom(select*fromclient_consumptionORDERBYjz_timedesc)agroupbya.uid)con','con.uid=u.id')->join('provincep','p.province_id=u.province_id','LEFT')->j追问能详细的说一下吗?