Re: join two tables without a key

From: Jeremy Harris <jgh(at)wizmail(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: join two tables without a key
Date: 2010-04-03 11:04:28
Message-ID: 4BB720BC.4050001@wizmail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/03/2010 11:16 AM, Dino Vliet wrote:
> If I have two tables with the same number of rows but different columns and I want to create one table out of them what would be the way to do that in postgresql?
>
>
>
> Table A has N number of rows and columns X,Y,Z and Table B has N number of rows and P,Q,R as columns. None of the tables have a column which can be used as a key.
>
> The resulting table should have N number of rows and X,Y,Z,P,Q,R as columns.

You haven't said what you want the result to mean.

- Jeremy

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dino Vliet 2010-04-03 11:32:04 Re: join two tables without a key
Previous Message Raymond O'Donnell 2010-04-03 11:01:47 Re: join two tables without a key