R

Rakesh Kumar • 28.44K Points
Instructor II

Q. View the Exhibit and examine the structure of the EMPLOYEES and DEPARTMENTS tables.
Which SET operator would you use in the blank space in the following SQL statement to list the departments where all the employees have managers?
SELECT department_id FROM departments ____ SELECT department_id FROM employees WHERE manager_id IS NULL;

  • (A) UNION
  • (B) MINUS
  • (C) INTERSECT
  • (D) The statement would not execute because the ORDER BY clause should appear only at the end of the SQL statement, that is, in the last SELECT statement.
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics