Ver originalSELECT C_NUMCTA,SUM(N_DEBCTA) FROM CBTPCTA LEFT JOIN CBDASID ON (CBTPCTA.C_NUMCTA=CBDASID.C_NUMCTA)GROUP BY CBTPCTA.C_NUMCTA