6 lines
193 B
SQL
6 lines
193 B
SQL
|
|
select sum(debito-credito) FROM cgtb00004
|
|
WHERE (cuenta_no = "1161" and status_t is null and
|
|
fecha <= "300499" and cod_sec = cod_sec and
|
|
num_doc = "44" )
|