Message-ID: <4ci3Yf$aSh@bbs.sjtu.edu.cn>
Subject: Re: �矢�oracle����目
Date: Tue, 04 Nov 2008 14:52:36 +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.1225810313.A
Lines: 21
Xref: 74.82.202.154 cn.bbs.comp.database:9782

要��sql server�幕�not in��效�省���������best practices���蔷����摹�����

minus MSSQL没�校�飘���
�� �� Boykins (���-���}�斯����山��水��}������) �拇������到: ��
: 1.
: select * from
: (
: select * from 
: math_student a
: where a.id not in (select b.id from english_student b)
: union 
: select * from 
: english_student aa
: where aa.id not in (select bb.id from math_student bb)
: .................������省�裕�

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

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