Skip site navigation (1) Skip section navigation (2)

Re: processing results from INTERSECT, UNION or EXCEPT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jody(at)ifi(dot)unizh(dot)ch
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: processing results from INTERSECT, UNION or EXCEPT
Date: 2000-12-12 17:57:46
Message-ID: 2320.976643866@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Jody Weissmann" <jody(at)ifi(dot)unizh(dot)ch> writes:
> SELECT t1.id FROM t1 WHERE t1.id IN (SELECT t2.id FROM t2 INTERSECT
> SELECT t3.id FROM t3)

7.0.* doesn't support UNION/INTERSECT/EXCEPT in sub-selects.

> Is there any way to do this besides using a temporary table?

Use 7.1 ... now in beta ...

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Steve WaldmanDate: 2000-12-12 18:00:07
Subject: Re: JDBC tutorial code
Previous:From: Albert REINERDate: 2000-12-12 17:21:58
Subject: Re: Unload of Data

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group