7 lines
194 B
MySQL
7 lines
194 B
MySQL
|
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
|