On Wed, Apr 28, 2004 at 16:12:34 +1200,
Ray Jackson <rmj(at)geography(dot)otago(dot)ac(dot)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.