I think he mean ..put in (-) sign in your previous statement ,correct me if
I'm wrong.
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
-----Original Message-----
Sent: Tuesday, July 03, 2001 11:17 PM
To: Multiple recipients of list ORACLE-L
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 : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: INF/MEKKAOUI
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Raymond Lee Meng Hong
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).