intersec problem

From: Tiziano Tresanti <tiziano(at)eclipse(dot)it>
To: pgsql-sql(at)postgresql(dot)org
Subject: intersec problem
Date: 1998-07-03 07:45:32
Message-ID: 359C8C1C.153CE2EB@eclipse.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi

I'm Tiziano

I would like to know, if the lastest version of postgres 6.3.2,
is able to do intersect function and/or subquery?
If it isn't please give me an alternative solution.

i have tried this command
>> select * from TABLE1 intersect select * from TABLE2; <<
is it syntax correct?
psql give me this error:
>> ERROR: parser: parse error at or near "select" <<
I have see that if I use this command
>> select * from TABLE1 intersect ;
It work .

Many thanks!
TT
--
Tresanti Tiziano - Eclipse S.p.A. Phone : +39 0464 42 37 55
Largo Posta, 5 Fax : +39 0464 42 09 02
I-38068 Rovereto (TN), Italy E-Mail : tiziano(at)eclipse(dot)it
Point of Presence I.NET URL : http://www.eclipse.it

Browse pgsql-sql by date

  From Date Subject
Next Message Marc Howard Zuckman 1998-07-03 15:36:59 [SQL] problem with 'insert into...': ADDITIONAL EXAMPLES
Previous Message Brian 1998-07-02 12:33:15 Re: [SQL] gmake not found