Range queries with multiple tables

Поиск
Список
Период
Сортировка
От Mag Gam
Тема Range queries with multiple tables
Дата
Msg-id 1cbd6f830905110511m5b98d93et528f9b72a5b997c2@mail.gmail.com
обсуждение исходный текст
Ответы Re: Range queries with multiple tables  (Adam Ruth <adamruth@mac.com>)
Список pgsql-novice
I have 5 tables like named this:

2009.01
2009.02
2009.03
2009.04
2009.05

Each table has a columns like this:

( id integer,
 ts timestamp,
 value char(50)
);


If I would like to search from 2009.01 to 2009.04 is it possible to
build a query like that? I was thinking if there is a clever VIEW I
can create that would include all 5 tables as 1 table.

Any thoughts or ideas?

TIA

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Postfix with PostgreSQL
Следующее
От: Adam Ruth
Дата:
Сообщение: Re: Range queries with multiple tables