I'm having trouble understanding why pgadmin is pointing to a syntax error in my query .
select
first_name,
coalesce(to_char(avg(p.amount),'99.99'), 'nnn') valor_medio
from
{
select
c.first_name as nome_cliente,
c.last_name...
asked by
22.12.2015 / 14:35