multiful join with group by (Sum)

后端 未结 0 1329
礼貌的吻别
礼貌的吻别 2021-01-18 10:49

when I using multiple JOIN, I hope to get the sum of some filed in joined tables.

SELECT A.*, sum(C.purchase_price) AS purcchase_total, sum(D.sales_pr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题