6
AssignmentMultiple Choice

Designing a Relational Database

Question 6 • DRHS-Business and Tech BLOCK (07.4410030)

Which situation would most benefit from an outer join?

Answer
A
a query that shows only customers who placed orders
B
a query that shows all duplicate customers from both tables
C
a query that shows only the orders that have customers attached
D
a query that shows all customers, whether or not they placed an order

Explanation

An outer join includes unmatched rows from one or both tables, filling in missing values for the table with no match. Choice D needs every customer to appear, even when there is no matching order, which is the purpose of a left outer join. Choices A and C describe returning only matching rows, which an inner join does.

AI-written and checked against the verified answer.

Previous
Next