Which of the following is a valid syntax for performing NATURAL JOIN on 'TABLE1' and 'TABLE2'?
Which of the following is a valid syntax for performing NATURAL JOIN on 'TABLE1' and 'TABLE2'?
Solution
✅ Correct Option: 1
In SQL, NATURAL JOIN is written between the two table names in the FROM clause: SELECT * FROM TABLE1 NATURAL JOIN TABLE2;
It joins the tables automatically on all columns that have the same name in both, and keeps only one copy of each common column in the result.
Option 2: NATURAL is a join type, not a column name, so it cannot follow SELECT.
Options 3 and 4: a query must start with SELECT, and there is no "JOIN ... AND ..." form for joining tables.
Related questions:
2026: 23 May Shift 2
2025: 30 May Shift 2
2025: 20 May Shift 1