RE: [SQL] Join operations

Поиск
Список
Период
Сортировка
От Jackson, DeJuan
Тема RE: [SQL] Join operations
Дата
Msg-id D05EF808F2DFD211AE4A00105AA1B5D2265FF8@cpsmail
обсуждение исходный текст
Список pgsql-sql
SELECT a.*, b.* FROM a, b WHERE a.c=b.c
UNION ALL
SELECT a.*, NULL, NULL, ... WHERE NOT EXISTS(SELECT 1 FROM b WHERE a.c=b.c);

Hope this helps,-DEJ

> -----Original Message-----
> From:    Tim Holloway [SMTP:mtsinc@southeast.net]
> Sent:    Thursday, June 17, 1999 7:26 PM
> To:    pgsql-sql@postgreSQL.org
> Subject:    [SQL] Join operations
> 
> Until the true SQL JOIN clauses become operative are there equivalents in
> the existing PostgresSQL SQL? I'm particularly interested in LEFT OUTER
> JOIN.
> 
>    TIA,
>     Tim Holloway


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

Предыдущее
От: Mathew White
Дата:
Сообщение: RE: [SQL] Trouble with insert into.
Следующее
От: Doug Younger
Дата:
Сообщение: trigger to insert on update to non-existing row?