Re: how to calculate standard deviation from a table - Mailing list pgsql-general

From David G Johnston
Subject Re: how to calculate standard deviation from a table
Date
Msg-id 1421941753853-5835042.post@n5.nabble.com
Whole thread Raw
In response to how to calculate standard deviation from a table  (Pierre Hsieh <pierre.hsieh@gmail.com>)
Responses Re: how to calculate standard deviation from a table
List pgsql-general
Pierre Hsieh wrote
> Hi
>
> This table just has a column which type is integer. There are one million
> data in this table. I wanna calculate standard deviation on each 50 data
> by
> order. It means SD1 is from data 1 to data 50, SD2 is from data 51 to
> 100.... Is there anyone who can give me some suggestions? Thanks
>
> Pierre

Integer division

David J.



--
View this message in context:
http://postgresql.nabble.com/how-to-calculate-standard-deviation-from-a-table-tp5835031p5835042.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: temporary tables are logged somehow?
Next
From: Paul Jungwirth
Date:
Subject: Re: how to calculate standard deviation from a table