From: olivier boissard <olivier.boissard@cerene.fr>
To: pgsql-admin@postgresql.org
Subject: except command
Date: Mon, 13 Aug 2007 19:50:46 +0200
Message-ID: <46C099F6.8050002@cerene.fr> (raw)
Hello
I tried to use the except command in postgresql 8.1
I don't understand as it works
When I read doc , I understand that it was like a difference betwwen two
queries
However , It looks as if the 2nd part was ignored
I tried to test by dblink a query unising except on the same database
and all the records where returned
Do anybody know how it works ?
exemple:
select
t1.columns .....
from
table_1 t1
EXCEPT
select
t2.same_columns .....
from
table_2 t2
Olivier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: olivier.boissard@cerene.fr
Subject: Re: except command
In-Reply-To: <46C099F6.8050002@cerene.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox