1 Answers
Types of Joins in Oracle SQL
In Oracle SQL, there are several types of joins that can be used to combine data from different tables:
- Inner Join: Retrieves rows that have matching values in both tables being joined.
- Outer Join: Retrieves all rows from one table and only the matching rows from the other table.
- Left Join: Retrieves all rows from the left table and the matched rows from the right table.
- Right Join: Retrieves all rows from the right table and the matched rows from the left table.
- Full Outer Join: Retrieves all rows when there is a match in either the left or right table.
- Cross Join: Produces a Cartesian product of the two tables involved in the join (all possible combinations of rows).
Each type of join serves a specific purpose and can be used based on the requirements of the query being executed.
Please login or Register to submit your answer