Answers

Question and Answer:

  Home  Oracle Database

⟩ How To Join Two Tables in a Single Query using Oracle?

Two tables can be joined together in a query in 4 ways in Oracle:

* Inner Join: Returns only rows from both tables that satisfy the join condition.

* Left Outer Join: Returns rows from both tables that satisfy the join condition, and the rest of rows from the first (left) table.

* Right Outer Join: Returns rows from both tables that satisfy the join condition, and the rest of rows from the second (right) table.

* Full Outer Join: Returns rows from both tables that satisfy the join condition, the rest of rows from the first (left) table, and the rest of rows from the second (right) table.

 219 views

More Questions for you: