Q
What is a self join?
-
A
Joining a table to a view
-
B
Joining without any condition
-
C
Joining two databases
-
D
Joining a table to itself, such as employees to their managers
Correct Answer:
D. Joining a table to itself, such as employees to their managers
Explanation:
Self joins need table aliases: FROM employees e JOIN employees m ON e.manager_id = m.employee_id.