So the various type of joins we come across in SQL are :
1.JOIN
2.NATURAL JOIN
3.INNER JOIN
4.OUTER JOIN(LEFT, RIGHT, FULL)
5.CROSS JOIN
I need clarity in understanding what is the difference between JOIN, NATURAL JOIN and CROSS JOIN
At w3schools.com I used the JOIN and NATURAL JOIN query and got the following results
1.Query for JOIN.
SELECT *
FROM Orders
JOIN Customers;
Output of the JOIN query(Postal Code and Country Column can't be seen but they're there)
2.Query for NATURAL JOIN.
SELECT *
FROM Orders
NATURAL JOIN Customers;
I'm a beginner and I'm not getting clear with concept of JOIN and NATURAL JOIN keyword since the material on internet is not sufficient or if it's there doesn't clear the confusion I have between these two keywords.
I can't understand why the number of records fetched by the 2 keywords are so different.Please explain in deep what's happening here.Thanks in advance.