GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL

 Print  |  
Question:  
What are various joins used while writing SUBQUERIES?


Answer:
Self join-Its a join foreign key of a table references the same table. Outer Join--Its a join condition used where One can query all the rows of one of the tables in the join condition even though they don't satisfy the join condition.
Equi-join--Its a join condition that retrieves rows from one or more tables in which one or more columns in one table are equal to one or more columns in the second table.


July 07, 2005 15:54:28 #1
 Hanu   Member Since: Visitor    Total Comments: N/A 

RE:
What are various joins used while writing SUBQUERIES?

 
Correlated sub query is one of the best example to be used in the sub queries to join the tables. We may be having equi, non-equi, outer joins, however when we talk about joins in the sub queries,correlated is best suited example.
     

 

Back To Question