What is right join in database?

By Arsal Ahmed   Posted on March-20-2018   573

RIGHT OUTER JOIN:

Another type of join is called a SQL Server RIGHT OUTER JOIN. This type of join returns all rows from the RIGHT-hand table specified in the ON condition and only those rows from the other table where the joined fields are equal (join condition is met).

Syntax:

The syntax for the RIGHT OUTER JOIN in SQL Server (Transact-SQL) is:

SELECT columns
FROM table1
RIGHT [OUTER] JOIN table2
ON table1.column = table2.column;

Quotation by Hurbert hoover
By Arsal Ahmed    20-Mar-2018 Views  573



You may also read following recent articles

Receive and Reply to SMS using API