Oracle SQL

Oracle SQL Joins: Display Data from Multiple Table

Oracle SQL Joins Display Data from Multiple Table
Written by shohal

Display Data from Multiple Table

Cartesian -Products:

Without any joining condition return the value. Is called a cartesian product.

Example:

Select employees. employees_id, employees. last_name , employees.department_id,departments.department_id,departments.location_id from employees. department;

Equi_Joins:

One table to another table equally joins is called Equi_Joins.

Example:

Select employees. employees_id, employees. last_name , employees.department_id,departments.department_id,departments.location_id from employees. Department where employees.department_id = department.department_id;

Non Equi_Joins:

Too many tables join.

Example:

Select employees. employees_id, employees. last_name , employees.department_id,departments.department_id,departments.location_id from employees. Department

where employees.department_id

Between department.department_id and department.location_id;

Outer_Joins:

When we find with the null value.

Example:

Select employees. employees_id, employees. last_name , employees.department_id,departments.department_id,departments.location_id from employees. Department

where employees.department_id (+)= department.department_id;

Self_Join:

When Join same table that is called self_join .

Example:

Select worker.last_name || ‘work as’ || manager.last_name from employees worker , employees manager  where worker.manager_id =manager.employee_id;

Oracle SQL Joins

🚀

If you’d like me to proceed with any of these, please just let me know from the site techtweet.xyz! Also if you need to learn something new than subscribe YouTube : ASP.NET With SQL SERVER

About the author

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