Natural join

by gowtham 2010-02-11 16:14:19

A natural join offers a further specialization of equi-joins. The join predicate arises implicitly by comparing all columns in both tables that have the same column-name in the joined tables. The resulting joined table contains only one column for each pair of equally-named columns....

The above sample query for inner joins can be expressed as a natural join in the following way:

SELECT *
FROM employee NATURAL JOIN department

Tagged in:

815
like
0
dislike
0
mail
flag

You must LOGIN to add comments