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
[m[1;33m�� 4源:����水思源 bbs.sjtu.edu.cn��[FROM: 207.46.55.31][m
[1;36m�� �薷谋���:��Dem �� 11��04��23:09:22 �薷谋��摹�[FROM: 207.46.55.31][m
[1;36m�� �薷�����:��Dem �� 11��04��23:09:35 �薷谋��摹�[FROM: 207.46.55.31][m