Re: very simple: How can I multiply tables? - Mailing list pgsql-general

From Mikhail V. Majorov
Subject Re: very simple: How can I multiply tables?
Date
Msg-id 3A8AB1E1.79B039B7@ttn.ru
Whole thread Raw
In response to RE: very simple: How can I multiply tables?  (Michael Ansley <Michael.Ansley@intec-telecom-systems.com>)
List pgsql-general
> Michael Ansley wrote:
>
> INSERT INTO table3 (id, surname, dt) SELECT table1.id, table1.surname,
> table2.dt FROM table1, table2;
> or
> CREATE TABLE table3 AS SELECT table1.id, table1.surname, table2.dt
> FROM table1, table2;
>
> It's called a cross-join.

You are absolutely right.
But I don't find any information about JOIN in SELECT sentences. :(
Could you give me example of LEFT or RIGHT JOIN.

Best regards,
Mik.

pgsql-general by date:

Previous
From: "Mikhail V. Majorov"
Date:
Subject: Re: Re: very simple: How can I multiply tables?
Next
From: "Adam Lang"
Date:
Subject: Re: Re: Bad book review