Skip to content

Coder Tutorial

Menu
  • Home
  • HTML
  • CSS
  • PHP
  • SQL
  • MySQL
  • JS
  • PL/SQL
  • Python
  • Java
  • Oracle
Home
Oracle
Oracle Self Join

Oracle Self Join

The Oracle Self Join is a join of a table to itself.

Oracle Self Join example

Select *
From users u, users m
Where m.manager_id = u.user_id
Order By u.user_id;

Select *
From customers c, customers s
Where s.supplier_id = c.customer_id 
Order By c.customer_id;

Tutorials

  • Oracle Tutorial
  • Oracle Create Table
  • Oracle Insert
  • Oracle Update
  • Oracle Delete
  • Oracle Anonymous Block
  • Oracle Data Types
  • Oracle Conditional Statements
  • Oracle Transaction Statements
  • Oracle Loop Statements
  • Oracle Cursors
  • Oracle Create Procedure
  • Oracle Create Function
  • Oracle Create Package
  • Oracle Create View
  • Oracle Create Trigger
  • Oracle Exception

Recent Posts

  • Java Polymorphism
  • Java Encapsulation
  • Java Abstraction
  • PostgreSQL ERROR: cannot begin/end transactions in PL/pgSQL
  • PostgreSQL Column must appear in the GROUP BY clause
  • PostgreSQL Column specified more than once
  • PostgreSQL Create database, Alter database examples
  • PostgreSQL Create schema syntax, Alter schema
  • PostgreSQL Create database user, alter and drop username
  • PostgreSQL Alter table name. Modify column name
Coder Tutorial Copyright © 2025. | Privacy Policy
Back to Top ↑