GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  DataBase Testing
Go To First  |  Previous Question  |  Next Question 
 DataBase Testing  |  Question 18 of 50    Print  
What is join and explain about types of joins?

  
Total Answers and Comments: 10 Last Update: March 23, 2007     Asked by: Mukul 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 16, 2006 05:29:14   #1  
rameshbabu1712 Member Since: September 2005   Contribution: 1    

RE: What is joint?

Hi

I am not getting u your doubt is joint or join


 
Is this answer useful? Yes | No
May 18, 2006 04:53:04   #2  
eralapallys Member Since: May 2006   Contribution: 1    

RE: What is joint?
I guess the requester is asking about join. Am i right..
 
Is this answer useful? Yes | No
May 30, 2006 02:15:57   #3  
shiva        

RE: What is joint?

we can join two tables by primary and forienkeys of both tables in sql statements you can also specify the field to be displayed in ur join from two tables

suppose we have two tables

emp dept

emp: emp-no emp- name emp- sal dept-no

dept: dept-no dept-loc dept-strength

no we can join these tables by using sql statement

select emp-no emp-name emp-sal dept-no dept loc dept- strength from emp dept where emp.dept-no dept.dept-no


 
Is this answer useful? Yes | No
June 12, 2006 07:38:10   #4  
Rajasekhar        

RE: What is joint?

The SQL JOIN statement is used to combine the data contained in two relational database tables based upon a common attribute.

Basically there are two types of Joins

1. Inner Join

An inner join is a join that selects only those records from both database tables that have matching values. Records with values in the joined field that do not appear in both of the database tables will be excluded from the query. One or more fields can serve as the join fields.

2. Outer Join

Outer Join has 2 types furthure.

2a. Right Outer Join : 2b. Left Outer Join

An outer join selects all of the records from one database table and only those records in the second table that have matching values in the joined field. In a left outer join the selected records will include all of the records in the first database table. In a right outer join the selected records will include all records of the second database table. One or more fields can serve as the join fields.


 
Is this answer useful? Yes | No
October 04, 2006 17:57:34   #5  
sandy8035 Member Since: October 2006   Contribution: 2    

RE: What is joint?

Joins are the function by which you can combine two or more tables to get the desired records types of joins are:

Self-join natural join right outer join left outer join equijoin non-equijoin etc.

Sandeep


 
Is this answer useful? Yes | No
October 30, 2006 14:47:58   #6  
ramesh        

RE: What is join?
presenting data from more than 1 table is called join .
 
Is this answer useful? Yes | No
November 09, 2006 05:13:12   #7  
Dr. Shivaji        

RE: What is joint?
In Joints we have so may pains encounter during the old age. This is due to lack of calcuim and phosphorus. There are losts of medicines available to recover from join pains.
 
Is this answer useful? Yes | No
November 09, 2006 08:53:01   #8  
ravikumar        

RE: What is joint?

joint means nothing bot to join the two tables

these r 3 types

inner self and outer joins.

suppose if we want emp1 details from 1 table and emp2 details from other table in this we can use join......k

if u have any doubts send to :chinnu.sep14@gmail.com


 
Is this answer useful? Yes | No
March 15, 2007 09:35:57   #9  
hari krishna        

RE: What is joint?

Actually it is not a joint? It is join?

Joins are used to retrieve data from multiple tables.There are 3 types of joins
a)Inner Join b)Outer Join c) Cross Join
a)Inner Join is the default type of join Result set contains only matched rows.
b)Outer Join: We have 3 types of outer join .They are
1)Left Outer Join: Result set contains all rows from the left table and matched rows from the right table
2)Right Outer Join:Result set contains all rows from the right table and matched rows from the left table
3)Full Outer Join: Result set contains all rows from left table as well as rows from the right table.
c)Cross Join: A join without any condition every row in first table joined with every row in 2nd table.This join is also called as cartesian join


 
Is this answer useful? Yes | No
March 23, 2007 02:12:09   #10  
Anurag singh        

RE: What is join and explain about types of joins?
Join is basically used to join tables by means of primary key and foreign key. After joining tables we can retrive data from multiple tables by firing single query. Join are of various types.
a) equi join
b) cartesion product
c) outer join

 
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