Which department has more employees than department 20?
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 DeptId, COUNT(*)
2 FROM employee
3 GROUP BY DeptId
4 HAVING COUNT(*) >
5 (SELECT COUNT(*)
6 FROM employee
7 WHERE DeptId = 20);
DEPTID COUNT(*)
---------- ----------
10 3
```
You might also like to view...
Describe the Fourth Extended (ext4) File System Multiblock allocation feature.
What will be an ideal response?
Bill travels 200 miles in four hours. What is his average speed in miles per hour?
Solve the following time-rate-distance problems using the IPO method. Ignore time zones.
The Search box is the default location for all saved searches.
Answer the following statement true (T) or false (F)
What is the goal of a customer relationship management (CRM) system? Discuss the benefits of CRM software.
What will be an ideal response?