Re: [GENERAL] How do you live without OUTER joins?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] How do you live without OUTER joins?
Дата
Msg-id 200001121416.JAA26143@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] How do you live without OUTER joins?  (David Warnock <david@sundayta.co.uk>)
Список pgsql-general
> Bruce,
>
> Can't a sub select do this (mind you not sure if PostgreSQL supports sub
> selects)?
>
> eg
>
> select company_name, (select com_cat_long from company_category cat
> where cat.com_cat_abbr = cpy.com_cat_abbr) from company cpy
>

Only 7.0 will support subselects in the target list.  6.5.* only
supports them in the WHERE clause.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Wim Ceulemans
Дата:
Сообщение: Re: [GENERAL] constant column value in view with union
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] query with LIKE