Re: [SQL] Using intersect in subquery

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] Using intersect in subquery
Дата
Msg-id 199908181510.LAA02000@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Using intersect in subquery  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
> >> (I believe) I am running PG 6.4.  The INTERSECT by itself works, but not in
> >> a subquery.
> >> 
> 
> No, it still won't work --- the current grammar specifies SubSelect not
> select_clause as the kind of select you can put inside an expression.
> Not sure what it would take to fix this; I have a feeling that just
> changing the grammar wouldn't be good enough :-(.  Better add it to the
> TODO list:
>     * Support UNION/INTERSECT/EXCEPT in sub-selects

Done.

--  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,
Pennsylvania19026
 


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

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: [SQL] Using intersect in subquery
Следующее
От: Drew Whittle
Дата:
Сообщение: Counting the number of distinct rows returned