5
Reply

How many types of joins are in SQL Server ?

Sujeet Suman

Sujeet Suman

Sep 17, 2015
955
0

    There are mainly six typesINNER JOIN: returns rows when there is a match in both tables.LEFT JOIN: returns all rows from the left table, even if there are no matches in the right table.RIGHT JOIN: returns all rows from the right table, even if there are no matches in the left table.FULL JOIN: returns rows when there is a match in one of the tables.SELF JOIN: is used to join a table to itself as if the table were two tables, temporarily renaming at least one table in the SQL statement.CARTESIAN JOIN: returns the Cartesian product of the sets of records from the two or more joined tables.

    Rafnas T P
    February 19, 2016
    1

    Inner Join, Left Outer Join, Right Outer Join, Full Outer Join, Cross Join, Self join.

    Sujeet Suman
    September 18, 2015
    1

    Left Outer Join Right outer Join Inner Join Full Join cross Join Natural join self join

    Chetan Raiyani
    June 08, 2016
    0

    six types

    Keerthi Venkatesan
    April 11, 2016
    0

    Inner join,Left Outer Join,Right Outer join

    Sunil Babu
    April 02, 2016
    0