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 -> Where clause and cartesian product

Where clause and cartesian product

From: Hari <excel_hari_at_yahoo.com>
Date: 12 Dec 2005 23:01:54 -0800
Message-ID: <1134457314.403955.8310@o13g2000cwo.googlegroups.com>


Hi,

Im new to databases/Oracle.

Recently I enrolled in an Oracle certification course. The Oracle course material says that usage of Where clause is preffered as it avoids a cartesian product (thus overloading the query). One colleague in the class said that even if one uses a Where clause in a SQL statement involving 2 tables, the oracle system first does a cartesian product of the 2 tables and then applies the where condition the ouput and displays it to the user (my teacher isnt sure about how it works). How does it work in reality?

regards,
Hari
India Received on Tue Dec 13 2005 - 01:01:54 CST

Original text of this message

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