Sujestão no postgresql

select * from tabela where date_part('month',tabela.dhnasc)
>= date_part('month',current_timestamp) and date_part('month',tabela.dhnasc)
<= date_part('month',(current_timestamp+ interval '3 months'));

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

Responder a