mysql兩個表聯合查詢,mysql中連表查詢求和?
selectyfdj,sum(shu),sum(cb),sum(glcb),sum(fk)fromclienta
leftjoinsongbona.id=b.cid
leftjoinlaicona.id=c.cid
groupbyyfdj
selectyfdj,sum(shu),sum(cb),sum(glcb),sum(fk)fromclienta
leftjoinsongbona.id=b.cid
leftjoinlaicona.id=c.cid
groupbyyfdj