Oracle SQL,PL/SQL

What is Oracle / PLSQL Joins?

What is Oracle / PLSQL Joins? | TechTweet
Avatar of shohal
Written by shohal

Well, This is a short summery of Oracle/PLSQL Joins ,I just Written.

Oracle / PLSQL Joins

There are 4 different types of Oracle joins:

•Oracle INNER JOIN (or sometimes called simple join)

•Oracle LEFT OUTER JOIN (or sometimes called LEFT JOIN)

•Oracle RIGHT OUTER JOIN (or sometimes called RIGHT JOIN)

•Oracle FULL OUTER JOIN (or sometimes called FULL JOIN)

INNER JOIN (simple join)

Than returns multiple table matching (duplicates) data on a single output. •

Inner join Syntax

The syntax for the INNER JOIN in Oracle/PLSQL is:

SELECT columns

FROM table1

INNER JOIN table2

ON table1.column = table2.column;

Visual Illustration

What is Oracle / PLSQL Joins? | TechTweet
What is Oracle / PLSQL Joins? | TechTweet

LEFT OUTER JOIN

Return all data from left table with matching data for other table.

Syntax

The syntax for the Oracle LEFT OUTER JOIN is:

SELECT columns

FROM table1

LEFT [OUTER] JOIN table2

ON table1.column = table2.column;

Visual Illustration

What is Oracle / PLSQL Joins? | TechTweet
What is Oracle / PLSQL Joins? | TechTweet

RIGHT OUTER JOIN

Return all data from right table whit matching data from other table.

Syntax
The syntax for the Oracle RIGHT OUTER JOIN is:

SELECT columns

FROM table1

RIGHT [OUTER] JOIN table2

ON table1.column = table2.column;

Visual Illustration

What is Oracle / PLSQL Joins? | TechTweet
What is Oracle / PLSQL Joins? | TechTweet

FULL OUTER JOIN

Return all data from left and right.

Syntax
The syntax for the Oracle FULL OUTER JOIN is:

SELECT columns

FROM table1

FULL [OUTER] JOIN table2

ON table1.column = table2.column;

Visual Illustration

What is Oracle / PLSQL Joins? | TechTweet
What is Oracle / PLSQL Joins? | TechTweet

About the author

Avatar of shohal

shohal

I have profession and personal attachment with custom ERP Software development, Business Analysis, Project Management and Implementation almost (36) ,also Oracle Apex is my all-time favorite platform to developed the software. Moreover i have some website development experience with WordPress. For hand on networking experience DevOps and CCNA, it create me a full package. Here are some core programming language with networking course i have been worked: Oracle SQL ,PL/SQL,Oracle 19c Database , Oracle Apex 20.1,WordPress,Asp.Net ,MS SQL ,CCNA ,Dev Ops, SAP SD

Leave a Comment