Re: date arithmetic over calender year boundaries - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: date arithmetic over calender year boundaries
Date
Msg-id 20040428064813.GB6901@wolff.to
Whole thread Raw
In response to date arithmetic over calender year boundaries  (Ray Jackson <rmj@geography.otago.ac.nz>)
List pgsql-sql
On Wed, Apr 28, 2004 at 16:12:34 +1200, Ray Jackson <rmj@geography.otago.ac.nz> wrote:
> Hi,
> 
> The following Postgres 7.1 query extracts aggregated data for an
> arbitrary period within each year for sites in a table containing
> 30 years of temperature data.

It isn't completely clear what you want to do, but you might be able to
use date_part in a where clause to limit the data used for each year
if the range within each year is the same.


pgsql-sql by date:

Previous
From: "kumar"
Date:
Subject: Re: Customised Encoding
Next
From: "Stijn Vanroye"
Date:
Subject: select distinct and order by