Use set operator and subquery to find employees, who do not have any dependents.

Use the N2 Corporation database tables to design the following subqueries. (Use the spooling method to capture all queries and results in the CHAP8SP1.LST file.)

```
SQL> SELECT Lname, Fname
2 FROM employee
3 WHERE EmployeeId IN
4 (SELECT EmployeeId FROM employee
5 MINUS
6 SELECT DISTINCT EmployeeId FROM dependent);

LNAME FNAME
--------------- ---------------
Roberts Sandi
Garner Stanley
Houston Larry
McCall Alex
```

Computer Science & Information Technology

You might also like to view...

The Wrap Text option is used to center cell content vertically within the cell.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following data types cannot have an input mask applied?

A. Number B. Long Text C. Short Text D. Date/Time

Computer Science & Information Technology