Message-ID: <4ci48F$ail@bbs.sjtu.edu.cn>
Subject: Re: �矢�oracle����目
Date: Tue, 04 Nov 2008 15:09:35 +0000
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.database.mbox.zip!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
Newsgroups: cn.bbs.comp.database
Organization: ��水思源
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1225811343.A
Lines: 35
Xref: 74.82.202.154 cn.bbs.comp.database:9783

http://www.orafaq.com/wiki/Minus

Minus
From Oracle FAQ
Jump to: navigation, search
MINUS is a SQL set operation that selects elements from the first table and 
them removes rows that are also returned by the second SELECT statement. 

For example, the below query will all return rows that are in table_A, but 
not in table_B: 

SELECT * FROM table_A
MINUS
SELECT * FROM table_B;
Additionally, if there are two identical rows in table_A, and that same row 
exists in table_B, BOTH rows from table_A will be removed from the result 
set. 

 �� �� Boykins 
( ���-���}�斯����山��水��}������) �拇������到: ��: ��minus���多。
: ��not exists 也���浴�
: �� �� Dem �拇������到: ��
: : 要��sql server�幕�not in��效�省���������best practices���蔷����摹�����
: : minus MSSQL没�校�飘���


--
Welcome to Database Board
��迎4����菘��
http://bbs.sjtu.edu.cn/bbsdoc?board=database

�� 4源:����水思源 bbs.sjtu.edu.cn��[FROM: 207.46.55.31]

�� �薷谋���:��Dem �� 11��04��23:09:22 �薷谋��摹�[FROM: 207.46.55.31]

�� �薷�����:��Dem �� 11��04��23:09:35 �薷谋��摹�[FROM: 207.46.55.31]