Re: union in subselect?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: union in subselect?
Дата
Msg-id 10905.996592603@sss.pgh.pa.us
обсуждение исходный текст
Ответ на union in subselect?  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Список pgsql-sql
Gary Stainburn <gary.stainburn@ringways.co.uk> writes:
> select * from actions where cposn in (select posn from positions where pholder
> = 81 union select 'NEC' as posn from members where mnec = true and mid = 81);

> gives me:
> ERROR:  parser: parse error at or near "union" 

Update to PG 7.1.
        regards, tom lane


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Get name of columns in a table
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Fuzzy matching?