SELECT SUM(value) AS saldo, customerid FROM cash GROUP BY customerid;