-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Se olhar na documentação pode ser que ache algo, mas de cabeça não lembro.

Att.
Em 26-10-2015 16:48, Danilo Silva escreveu:
>
>
>     select date_part('month',data) from <tabela> where data >=
01/01/2015 and data <= 30/09/2015 group by date_part('month',data)
>
> ​Obrigado pela resposta, porém, no meu caso, não estou envolvendo
nenhuma tabela, tenho apenas o período, e atráves dele extrair os meses.
>
> []s
> Danilo​
> 
>
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral


- -- 
Paz e Bem!
Alcione Ferreira
Sombra®
101080
[http://www.alcionesytes.net/]
- ------------------------------------------------
Liberdade e conhecimento ao alcance de todos.

Office Escritório - http://www.libreoffice.org/
Navegador Firefox - http://www.mozilla.org.br/
Email Thunderbird - http://www.mozilla.org.br/
- ---------------------------------------------------------------
Linux user number 432030 of http://counter.li.org/
- ---------------------------------------------------------------
ICQ: 377035698
Jabber: [email protected]
MSN: [email protected]
- ---------------------------------------------------------------
Curriculum: http://lattes.cnpq.br/0545256741852110
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlYuhmYACgkQ3m8gMw0vje91DgCfQ/xlgtzNOKIFCBeYkDMxFhhl
DQEAn2nXkly25ViTjhLIMx9kWT7e2VHv
=470o
-----END PGP SIGNATURE-----

Attachment: 0x0D2F8DEF.asc
Description: application/pgp-keys

_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a