56
--- 1 row(s) selected.
SELECT COUNT(*)
FROM persnl.employee
WHERE jobcode IS NOT NULL;
(EXPR)
-----------
56
--- 1 row(s) selected.
•
Count the number of distinct departments in the EMPLOYEE table:
SELECT COUNT (DISTINCT deptnum)
FROM persnl.employee;
(EXPR)
-----------
11
--- 1 row(s) selected.
COUNT Function
311