If I say:
A NATURALJOIN B
Is that the same as:
B NATURALJOIN A
Similarly, if I say:
A NATURALJOIN B NATURALJOIN C
How is that supposed to be evaluated?
Here are my remarks:
NATURAL JOIN
SELECT *
, then the list of selected columns is all columns of the first table, then all columns of the second table.NATURAL JOIN
s. It joins tables by their common columns. If the tables happen to share a column name like "text", "description" or "name" this will be used. Imagine you write a program with a SELECT
statement, where two tables person and job are joined by person_id. Later you add a column "description" to both tables. Suddenly your program will fail completely to get any matching record, because "person_id" may match, but "description" won't.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With