1 Answers
Types of Joins in Oracle SQL
The different types of joins in Oracle SQL are:
- Inner Join: An inner join returns rows when there is at least one match in both tables being joined.
- Left Join: A left join returns all rows from the left table and the matched rows from the right table. If there is no match, the result is NULL on the right side.
- Right Join: A right join returns all rows from the right table and the matched rows from the left table. If there is no match, the result is NULL on the left side.
- Full Join: A full join returns rows when there is a match in one of the tables being joined. It combines the results of both left and right joins.
Using the appropriate join type is crucial in optimizing your Oracle SQL queries and fetching the desired data efficiently.
Please login or Register to submit your answer