What is the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN?
What is the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN?
Student
The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .
Here’s the short and clear difference:
INNER JOIN
→ Common data only
LEFT JOIN (LEFT OUTER JOIN)
→ Non-matching right = NULL
RIGHT JOIN (RIGHT OUTER JOIN)
→ Non-matching left = NULL
FULL JOIN (FULL OUTER JOIN)
→ Non-matching on either side = NULL
Quick Example Idea