Re: what's wrong with this code?

From: Jude DaShiell <jdashiel(at)panix(dot)com>
To: amul sul <sul_amul(at)yahoo(dot)co(dot)in>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: what's wrong with this code?
Date: 2015-06-21 18:03:40
Message-ID: alpine.NEB.2.11.1506211401230.13069@panix1.panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Amul, you are correct stddev_pop() is the correct way to call that
function. Thanks much.

On Thu, 18 Jun 2015, Jude DaShiell wrote:

> Date: Thu, 18 Jun 2015 16:11:26
> From: Jude DaShiell <jdashiel(at)panix(dot)com>
> To: amul sul <sul_amul(at)yahoo(dot)co(dot)in>,
> "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
> Subject: Re: [NOVICE] what's wrong with this code?
>
> I am told pop_stddev(integer) does not exist and explicit type casting may
> help. I'll be reading up on that in the next few minutes and see if I can
> get this working. I know why the aliases were a problem or would have been a
> problem too, the first word in every one of them that don't work now was
> population with a blank space following it so psql probably thought this
> idiot is trying to hang four aliases on a single string so I got a yellow
> card for my efforts. The pop_stddev() is an aggregate but one I've never
> used before inside psql or sql.
>
> On Tue, 16 Jun 2015, amul sul wrote:
>
>> Date: Tue, 16 Jun 2015 08:53:10
>> From: amul sul <sul_amul(at)yahoo(dot)co(dot)in>
>> To: Jude DaShiell <jdashiel(at)panix(dot)com>,
>> "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
>> Subject: Re: [NOVICE] what's wrong with this code?
>>
>> What is the error?
>>
>> Can I ask what is pop_stdev? Postgres has stddev_pop database function not
>> pop_stdev.
>>
>> regards,
>> Amul
>>
>
>

--

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jude DaShiell 2015-06-21 18:10:27 Re: what's wrong with this code?
Previous Message Daniel Begin 2015-06-19 15:12:26 Re: PGDATA on Windows