0
cluase我想获取量这不等于0在哪里查询结果
我的查询
select c.c_name, sum(cp.invoice_amount)-sum(cp.recived_amount) as amount from customer_payments cp
inner join customer c on c.c_id = cp.customer_id group by c.c_name
从中我得到的是还具有0金额所有客户的结果。