Hi Venu,
Is it a.col1 as primary key of table1 and b.col1 as primary key of table2 ?
if yes try this,
select /*+ FIRST_ROWS */
a.col1, b.col2
from table1 a, table2 b
where a.col1 = b.col1
Rgrds,
Sony
> -----Original Message-----
> From: Venu Gopal Andem [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 05, 2003 11:09 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Full table scan
>
> List,
>
> I have the following scnario:
>
> I'm doing a select from 2 tables joining them using a primary key- ref
> key on the tables and the explain plan is showing 2 full table scans...
> Even after analyzing the tables and the Optimizer mode is set to CHOOSE.
>
> SELECT a.col1, b.col2
> FROM table1 a, table2 b
> WHERE a.col1 = b.col1
>
> Any comments...
>
> Thanks in advance,
> Venu << File: InterScan_Disclaimer.txt >>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Sony kristanto
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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).