7 lines
194 B
SQL
7 lines
194 B
SQL
select sum(importe_total),cod_banco,vto_pago
|
|
from facturas
|
|
where vto_pago is not null and vto_pago > "01/10/97"
|
|
and tipo_doc_pago = "1"
|
|
group by cod_banco,vto_pago
|
|
order by vto_pago,cod_banco
|