Ver originalSELECT codigo, SUM( cargo ) , SUM( abono ) , SUM( cargo ) - SUM( abono ) FROM sc_ctacte GROUP BY cod_studHAVING SUM( cargo ) - SUM( abono ) = 0