All pastes #960856 Raw Edit

Anonymous

public text v1 · immutable
#960856 ·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)