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

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL Problem w/MINUS

Re: SQL Problem w/MINUS

From: Roman Starek <starek_at_pluto.spsselib.hiedu.cz>
Date: 26 Sep 2000 08:21:30 GMT
Message-ID: <8qpmaa$i2e$2@crax.cesnet.cz>

select

       c.cust_nbr
  from customer c,

       order o

  where c.cust_nbr = o.cust_nbr
    and c.age >= 30
    and o.amount < 10;

and force hash_join.

maybe create index on customer ( cust_nbr, age ) and order ( cust_nbr, amount ) and try to force merge join using these indexes.

        Starous Received on Tue Sep 26 2000 - 03:21:30 CDT

Original text of this message

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