Professional Documents
Culture Documents
NAME: Muzammil Shah ID: 13854 Program: Bs (Se) Section: S-D Course: Database System (Lab) Teacher: Sir Tanveer Malik
NAME: Muzammil Shah ID: 13854 Program: Bs (Se) Section: S-D Course: Database System (Lab) Teacher: Sir Tanveer Malik
ID: 13854
PROGRAM: BS (SE)
SECTION: S-D
COURSE: DATABASE SYSTEM (LAB)
TEACHER: SIR TANVEER MALIK
The FULL JOIN syntax is not supported in MySQL, which is what you seem to be using. Instead, you can
use a LEFT JOIN and a RIGHT JOIN to achieve the same result. Here's how you can modify the query to
work in MySQL:
What is a Self-Join?
A self-join is a type of join where a table is joined with itself. It is used to compare rows within the same
table.