5 lines
188 B
SQL
5 lines
188 B
SQL
select sum(debito-credito) FROM cgtb00004
|
|
WHERE (cuenta_no = "1161" and status_t is null and
|
|
fecha <= "300699" and cod_sec = cod_sec and
|
|
num_doc = "100")
|