How to get number of the week from datetime?

From: "Hojdar Karel Ing(dot)" <karel(dot)hojdar(at)synergie(dot)cz>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: How to get number of the week from datetime?
Date: 2000-01-14 13:13:15
Message-ID: F0F2C79F20CFD2119D07080009DC528431E153@NT_MAIN_SG
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

how I can get some agregates (avg, min, max) for whole week (in specified
year)?
For example from table with two columns : time datetime and value float8.
And I want to get average of value based on whole weeks.

Thanks Karel

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 2000-01-14 13:18:52 Re: [GENERAL] Database synchronisation over the internet...
Previous Message Wim Aarts 2000-01-14 08:41:51 Re: [GENERAL] Database synchronisation over the internet...