Public feed #960856

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-03-28 14:43 UTC
rendered paste body
select distinct extract(month from principal.vencimento) mes,
                extract(year from principal.vencimento) ano
              
from contas_pagar  principal

where principal.vencimento < current_date

order by extract(year from principal.vencimento),extract(month from principal.vencimento)