Geeks Talk

Prepare for your Next Interview




Joins

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 ...


Go Back   Geeks Talk > Databases > Oracle

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-01-2008
Junior Member
 
Join Date: Jun 2008
Location: Bangalore
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
udaykumarn is on a distinguished road
Smile Joins

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?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-01-2008
Expert Member
 
Join Date: Sep 2007
Posts: 754
Thanks: 22
Thanked 64 Times in 63 Posts
krishnaindia2007 is on a distinguished road
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.
Reply With Quote
The Following User Says Thank You to krishnaindia2007 For This Useful Post:
Reply

  Geeks Talk > Databases > Oracle


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 02:39 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved