Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Two ways to quote your query ?1

Two ways to quote your query ?1

From: Dan G <Gavrilescu.Daniel_at_pmintl.ch>
Date: Thu, 23 Sep 1999 16:14:46 +0300
Message-ID: <7sd92o$abk$1@pollux.ip-plus.net>


Try this. Is the result the same or not and why ?

SELECT DISTINCT s.pub_id
 FROM publishers S
 FULL JOIN titles sp
 ON s.pub_id=sp.pub_id
 WHERE sp.type='business '

SELECT DISTINCT s.pub_id
 FROM publishers S
 LEFT JOIN
 (SELECT sp.pub_id
  FROM titles sp
   WHERE sp.type='business ') as SP
   ON s.pub_id=sp.pub_id

Dan. Received on Thu Sep 23 1999 - 08:14:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US