Union & Nested queries

From: Nelio Alves Pereira Filho <nelio(at)ifx(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: Union & Nested queries
Date: 2000-11-10 14:46:51
Message-ID: 3A0C0A5B.B81D2689@ifx.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I tried to do the following query, but it doesn't work.

IFX=> select 1 IN (SELECT 1 UNION SELECT 2);
ERROR: parser: parse error at or near "union"

Are there and syntax error? What is wrong about that??

Thanks

--
Nelio Alves Pereira Filho
IFX Networks
Sao Paulo / Brazil

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-10 14:59:10 Re: strange behvaviour in join? BUG in 7.02?
Previous Message Oliver Elphick 2000-11-10 14:01:09 Re: strange behvaviour in join? BUG in 7.02?