Which type of JOIN combines all rows from the left table and all rows from the right table, filling in NULLs wherever a match is missing on either side? MCQ with Answer and Explanation
Which type of JOIN combines all rows from the left table and all rows from the right table, filling in NULLs wherever a match is missing on either side?
A. Natural Join
B. Inner Join
C. Cross Join
D. Full Outer Join
Answer: Option D
Solution (By JKSSB Mock Tests)
A Full Outer Join combines the behavior of both Left and Right Outer Joins, returning all rows from both tables and applying NULL values where matches do not exist.
Explanation:
Both 'ADD column_name datatype' and 'ADD COLUMN column_name datatype' are valid syntax in some DBMS, but standard SQL uses 'ADD column_name datatype'. However, many DBMS support both.
No comments yet. Be the first to start the discussion!