9
AssignmentMultiple Choice

Designing a Relational Database

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

Which scenario would most benefit from a self-join query?

Answer
A
a query connecting customers and products
B
a query connecting supervisors and customers
C
a query connecting employees and their orders
D
a query connecting employees and their supervisors

Explanation

A self-join is useful when a table needs to be matched against itself, often because two related roles are stored in the same table. Employees and their supervisors are commonly both rows in an employee table, so joining that table to itself can connect each employee with the row for their supervisor.

AI-written and checked against the verified answer.

Previous
Next