Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sql-query
How to use Minus
select art_grp from rh
minus
select art_grp from rik2.katsett_hgr;
Best Regards,
Nabila Mekkaoui
DBA Oracle
-----Message d'origine-----
De : Roland.Skoldblom_at_ica.se [mailto:Roland.Skoldblom_at_ica.se]
Envoyé : mardi 3 juillet 2001 13:51
À : Multiple recipients of list ORACLE-L
Objet : sql-query
Hallo all you gurus,
Anyone whom can help me withthis?
I would like to see even art_grp that exists in rh but not in rik2.katsett_hgr.
How can I change this select statement?
select hgr, rh.VGRP, ART_GRP,TEKST
from rik2.hierarki_tekst rh,rik2.katsett_hgr
where rh.vgrp(+) =rik2.katsett_hgr.vgrp and rik2.katsett_hgr.sett_id=1 and
rh.landkode = 47
order by hgr,vgrp,art_grp
Roland Sköldblom
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Roland.Skoldblom_at_ica.se Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Tue Jul 03 2001 - 09:43:43 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INF/MEKKAOUI INET: nmekkaoui_at_lth.sonatrach.dz Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).