GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL Plus
Go To First  |  Previous Question  |  Next Question 
 SQL Plus  |  Question 4 of 132    Print  
What is a join

  
Total Answers and Comments: 5 Last Update: December 11, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 29, 2005 00:37:25   #1  
NK        

RE: What is a join
A join is a query that combines rows from two or more tables views or materialized views. Oracle performs a join whenever multiple tables appear in the query's FROM clause. The query's select list can select any columns from any of these tables. If any two of these tables have a column name in common then you must qualify all references to these columns throughout the query with table names to avoid ambiguity.

Most join queries contain WHERE clause conditions that compare two columns each from a different table. Such a condition is called a join condition. To execute a join Oracle combines pairs of rows each containing one row from each table for which the join condition evaluates to TRUE. The columns in the join conditions need not also appear in the select list.

To execute a join of three or more tables Oracle first joins two of the tables based on the join conditions comparing their columns and then joins the result to another table based on join conditions containing columns of the joined tables and the new table. Oracle continues this process until all tables are joined into the result. The optimizer determines the order in which Oracle joins tables based on the join conditions indexes on the tables and in the case of the cost-based optimization approach statistics for the tables.


 
Is this answer useful? Yes | No
August 22, 2005 07:09:54   #2  
Jagdish        

RE: What is a join
It joins the multiple table with the consition.

 
Is this answer useful? Yes | No
September 27, 2005 07:09:15   #3  
Ashish Bajpai        

RE: What is a join

Join is a condition to retrive the data from a single or multiple table. Basiclly we can access the date from multiple table in two ways

1. with join

  • Inner

2. without join


 
Is this answer useful? Yes | No
September 27, 2005 07:10:30   #4  
Ashish Bajpai        

RE: What is a join

Join is a condition to retrive the data from a single or multiple table. Basiclly we can access the date from multiple table in two ways

1. with join

  • Inner Join
  • Left outer Join
  • Right outer Join
  • Full Join

2. without join

  • Cross Join

 
Is this answer useful? Yes | No
December 11, 2006 00:24:30   #5  
NARENDRA        

RE: What is a join
JOIN:it is nothing but a query used to retrieve data from more than two tables.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape