SQL - Right Outer Join

Data System Architecture

About

A “Right Outer” join is interpreted as show me all data from the right table and any matches with the left table. It's a reverse left outer join

In other words, RIGHT OUTER JOIN means that the “right” table is preserved and the “left” table should be added with NULLs if no match is found.

Example

table1
(inner set)
table2
(outer set)
Column ID Column ID Column ID_2
A A
B B A
D C C
gerardnico@orcl>select table1.id "ID_table1", table2.id "ID_table2"
  2        from table1 RIGHT OUTER JOIN table2
  3       on  table1.id = table2.id;

ID_table1  ID_table2
---------- ----------
A          A
B          B
           C

All the data from the table2 appears even if for the value C, we don't have any match with the table1.





Discover More
Bobj Outer Join Properties
BOBJ - Outer Join

An outer join is a join that links two tables, one of which has rows that do not match those in the common column of the other table. More ... You define an outer join by specifying which table is...
Data System Architecture
Dimensional Data Operation - Data Densification (sparse to dense data) - Preservation of the dimensions

You may want to view the data in dense form, with rows for all combination of dimension values displayed even when no fact data exist for them. The densification is also : known as thepreservation...
Obiee Logical Join Bmm
OBIEE - Right outer join

How can we perform a join with the type right outer in OBIEE. To know what is a right outer join, follow this link : In the logical join of the business model layer:
Data System Architecture
SQL - Joins (Home)

in SQL. A join is a SQL clause statement which define the set operation such as: intersection, union, that the database must perform between two or more relation (table, view, query, ...). The...
Data System Architecture
SQL - Outer Join

An outer join extends the result of a equi join. An outer join returns all rows that satisfy the join condition and also returns some or all of those rows from one table for which no rows from the other...



Share this page:
Follow us:
Task Runner