>> SELECT unnest as setor,coalesce(SUM(total),0.00) AS total
>

 

Show Dadilton, na mosca. (Rssss)

Tive apenas que ajustar o para GROUP BY setor,unnest e funcionou 100%

 

Obrigado pessoal,

 

Att,

Paulo.

 

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

Responder a