LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2005, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 29 Aug 2005 14:11:25 -0400
Reply-To:   "Luo, Peter" <pluo@DRAFTNET.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Luo, Peter" <pluo@DRAFTNET.COM>
Subject:   Which SQL run faster

Proc sql;

select A.*

from A left outer join B

on A.id=B.id

where A.age<=60

;

or

Proc sql;

select A.*

from (select * from A where age<=60) a left outer join b

on a.id=b.id

;

Thanks


Back to: Top of message | Previous page | Main SAS-L page