0

このSQLクエリに問題があります。クエリは自明なので、それを見ると、どのような問題があるかがわかります

SELECT customer.customerid, 
       paymentdata.paidamount, 
       paymentdata.balanceamount, 
       sum(paymentreceipt.paidamount) AS Expr1 
FROM   customer 
       INNER JOIN paymentdata 
               ON customer.customerid = paymentdata.customerid 
       INNER JOIN paymentreceipt 
               ON customer.customerid = paymentreceipt.customerid 
GROUP  BY customer.customerid 
4

5 に答える 5