Creating a selective aggregate ??

Поиск
Список
Период
Сортировка
От Najib Abi Fadel
Тема Creating a selective aggregate ??
Дата
Msg-id 001c01c45e6d$01f47260$9d64a8c0@najib
обсуждение исходный текст
Ответы Re: Creating a selective aggregate ??
Re: Creating a selective aggregate ??
Список pgsql-hackers
 
Hi
i have a table of dates let's say:
 
1/1/2004
8/1/2004
15/1/2004
29/1/2004
5/2/2004
12/2/2004
 
I am searching for a way to have the minimum date and maximum date for dates seperated by one week whitout gaps between them.
which will give the following output:
1/1/2004 , 15/1/2004
29/1/2004 , 12/2/2004
 
Any ideas??
Could this be done with aggregates ??
 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Nested Transactions, Abort All
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: suggestion: set default statistics to 100 for numerics