Prepare for your Next Interview
This is a discussion on Joins within the Oracle forums, part of the Databases category; Dear Team, Cartesian join is not clear to me.Would you pls explain that cartesian product is all combination of rows from different tables.When do we apply cartesian join ...
|
|||
|
Dear Team,
Cartesian join is not clear to me.Would you pls explain that cartesian product is all combination of rows from different tables.When do we apply cartesian join and where is it useful? |
| Sponsored Links |
|
|||
|
Re: Joins
Catersian Product is obtained when you give invalid join condition or ommit join condition. It joins every row of one table with every row of another table. For example if table x with 10 rows joined with table y with 10 rows , a cartesian join will return 100 rows. It is rarely used. Give proper join condition to avoid catesian join.
Last edited by krishnaindia2007 : 07-01-2008 at 11:18 PM. |
| The Following User Says Thank You to krishnaindia2007 For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Types of Joins in SQL | Adarsh B | SQL Server | 5 | 07-24-2008 03:21 AM |
| How the joins work in SQL | savitha_shankar | Database General | 11 | 07-15-2008 11:06 AM |
| Types of Joins | jyoti_02 | SQL | 1 | 05-10-2008 07:53 AM |
| tell me the query using joins and count! | ramesh_vwk | SQL | 3 | 08-20-2007 05:42 AM |
| I want to tune four tables and 5 joins condition | Caleb Sima and Vincent Li | Oracle | 2 | 06-29-2007 09:19 AM |