Re: making two tables with identical schemas appear as

Поиск
Список
Период
Сортировка
От John Sidney-Woollett
Тема Re: making two tables with identical schemas appear as
Дата
Msg-id 4125C71B.2040002@wardbrook.com
обсуждение исходный текст
Ответ на making two tables with identical schemas appear as one  (o.blomqvist@secomintl.com (Otto Blomqvist))
Ответы Re: making two tables with identical schemas appear as  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-general
Do you mean

create view MyView as
select * from table1
union
select * from table2;

John Sidney-Woollett

Otto Blomqvist wrote:

> Hello !
>
> I have a couple of tables with the same schema that I would like to
> query and view as one table. I looked into CREATE VIEW and FULL JOINs
> but still can't figure out a good (fast) way of doing this..
>
> Any ideas ?
>
> /Otto Blomqvist
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: How to setup default value "0000-00-00" for "date"
Следующее
От: Ulrich Wisser
Дата:
Сообщение: Re: Problems using count() with a join - trying to format