Subject Re: extract(week from d)
Author lacakus
> No, but you can use simple stored procedure
>
Thank you Ivan,
(Diki :-))
but I want make select like this (weekly summary) :

select extract(week from datum) as w, sum(some_data) as total
from t
where ...
GROUP BY extract(week from datum)

-Laco.