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.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
Which of the following is a valid SQL statement to add a new column to a table?
A. Both A and C
B. ALTER TABLE table_name ADD column_name datatype;
C. ADD COLUMN TO table_name column_name datatype;
D. ALTER TABLE table_name ADD COLUMN column_name datatype;

Correct Answer: Option A


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.

This question belongs to: Computer Database Management System (DBMS)
Question #2
In SQL, which statement is used to change a user's password?
A. MODIFY USER
B. ALTER USER
C. UPDATE USER
D. CHANGE USER

Correct Answer: Option B


Explanation:
ALTER USER is used in many DBMS to change user attributes, including password. The exact syntax varies by DBMS.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which SQL keyword is used to remove a table from the database?
A. REMOVE
B. TRUNCATE
C. DROP
D. DELETE

Correct Answer: Option C


Explanation:
DROP TABLE is a DDL command that deletes the table and its structure from the database.

This question belongs to: Computer Database Management System (DBMS)