Create a new table from records not joined in a left outer join

Поиск
Список
Период
Сортировка
От Sindile Bidla
Тема Create a new table from records not joined in a left outer join
Дата
Msg-id CA+fb49Z9J86n+bUPBy0JYseULgdZv_ruBL439cLyRZmjhLWnyg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Create a new table from records not joined in a left outer join  (Jayadevan M <jayadevan.maymala@ibsplc.com>)
Список pgsql-novice
I have a query of a left outer join

CREATE TABLE table3
AS SELECT d.*, u.*
FROM  table1 d
LEFT OUTER JOIN table2 u
ON (d.id = u.sgno); 

What i would like to do within the same query is to be able to create a new table with all the records of table2 that are not joined to table1. 

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

Предыдущее
От: James David Smith
Дата:
Сообщение: Interpolating Values
Следующее
От: Jayadevan M
Дата:
Сообщение: Re: Create a new table from records not joined in a left outer join