•Natural Joins clause is based on all columns in the two tables that have the same name and same data type.
•It selects rows from two tables that have equal values in all matched columns
•If the columns have the same names but different data type, an error will appear.
Select department_id, department_name, location_id, city
From departments
Natural join locations;

•It selects rows from two tables that have equal values in all matched columns
•If the columns have the same names but different data type, an error will appear.
Select department_id, department_name, location_id, city
From departments
Natural join locations;





0 comments:
Post a Comment