Re: making two tables with identical schemas appear as

From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Otto Blomqvist <o(dot)blomqvist(at)secomintl(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: making two tables with identical schemas appear as
Date: 2004-08-20 09:40:43
Message-ID: 4125C71B.2040002@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ulrich Wisser 2004-08-20 09:42:14 Re: Problems using count() with a join - trying to format
Previous Message Karsten Hilbert 2004-08-20 09:04:30 Re: How to setup default value "0000-00-00" for "date"