Re: making two tables with identical schemas appear as - Mailing list pgsql-general

From John Sidney-Woollett
Subject Re: making two tables with identical schemas appear as
Date
Msg-id 4125C71B.2040002@wardbrook.com
Whole thread Raw
In response to making two tables with identical schemas appear as one  (o.blomqvist@secomintl.com (Otto Blomqvist))
Responses Re: making two tables with identical schemas appear as
List 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 by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: How to setup default value "0000-00-00" for "date"
Next
From: Ulrich Wisser
Date:
Subject: Re: Problems using count() with a join - trying to format