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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: sql-query

RE: sql-query

From: Raymond Lee Meng Hong <RAYMOND_at_infopro.com.my>
Date: Tue, 03 Jul 2001 22:26:25 -0700
Message-ID: <F001.00340D9F.20010703213549@fatcity.com>

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 : 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-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: 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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Raymond Lee Meng Hong
  INET: RAYMOND_at_infopro.com.my
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). Received on Wed Jul 04 2001 - 00:26:25 CDT

Original text of this message

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