Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a join?Explain the different types of joins?

Answer Posted / sheels

Join is used to combin rows from multiple table. Join is performed when ever two or more table is listed in the FROM clause of an SQL statment.
Types of Join;
1.Natural Join: Natural join tells the database to join two table using the common columns.
2.Equality Join: Here the table is related using the equal(=) sign.
3.Inner Join: This is the most common type of join. Inner join returns all the rows from the table when the join condition is met.
4.Outer Join:It joins the matching records from two table and all the records from one side of the table and those un matching records have null value.
(i)Left Outer Join:It joins the matching records from two table and all the records from left side of the table and those unmatching records have null value.
(ii)Right Outer Join: It joins the matching records from two table and all the records from right side of the table and those unmatching records will have null value
5.Self Join: It is used to join a table to it.

Is This Answer Correct ?    26 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we alter stored procedure?

945


What are literals in sql server?

1075


how can we submit a form without a submit button? : Sql dba

918


what are the authentication modes in sql server? How can it be changed? : Sql dba

1324


what is the functionality of the function htmlentities? : Sql dba

894


What is sequence in sql?

945


what is bcp? When does it used? : Sql dba

935


Which is faster truncate or drop?

983


what is the difference between myisam static and myisam dynamic? : Sql dba

1003


What is the difference between stored procedure and view?

964


What is blind sql injection?

992


Why do we use joins in sql?

911


How many types of index are there?

962


What is the current version of postgresql?

1007


What is sqlca in db2?

894