Re: [SQL] MINUS emulation?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Barry Baldwin <bbaldwin(at)indyme(dot)com>
Cc: PGSQL-SQL <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] MINUS emulation?
Date: 1999-12-20 03:10:48
Message-ID: 17758.945659448@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Barry Baldwin <bbaldwin(at)indyme(dot)com> writes:
> Select field_id, data
> from table_1
> minus
> Select field_id, data
> from table_2;

The SQL standard spelling for this is "EXCEPT", not "MINUS".

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Gerhard Dieringer 1999-12-20 09:30:10 Antw: Re: [SQL] group by / having
Previous Message tjk@tksoft.com 1999-12-20 02:18:25 Re: [SQL] MINUS emulation?