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 -> select from a huge table

select from a huge table

From: J.K. <cljlk_at_hotmail.com>
Date: 7 Dec 1998 20:48:33 GMT
Message-ID: <74hev1$7dr$1@news.res.ray.com>


PLEASE HELP !!!!! I have a table about 7,000,000 records.

I get 12 records if I use "select * from mytable where f1 = 'ref1'";

but, my question is I need to use the following statement:

select c1.f1, c1.f2,c1.f3 from mytable c1, mytable c2 where c1.f1 = 'ref1' and c1.f2 <= ' c' and c1.f3 <> c2.f3;

I wait for 15 min, I still can not get the result, it is hanged there.

Any help will be appreciated. Many thanks. Received on Mon Dec 07 1998 - 14:48:33 CST

Original text of this message

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