91-9990449935 0120-4256464 |
Right Outer JoinThe right outer join returns all rows from the right hand table specified in the ON condition and only those rows from the other table where the inner join condition is true. The right outer join is absolute opposite of left outer join. Image representation: Syntax: See this example: Let's take a table "EMPLOYEES" having the following data. Table1: EMPLOYEES Create another table "DEPARTMENT" having the following data. Table2: DEPARTMENT Execute the following query: Output:
Next TopicPostgreSQL Full Join
|