0% found this document useful (0 votes)
93 views1 page

Like Predict

JOB SAL COMM DEPTNO SALESMAN MANAGER MANAGER SALESMAN ANALYST CLERK ADMIN 7521. SELECT DEPTNO" DEPARTMENT NO",COUNT(EMPNO)"NO OF EMPLOYEE" FROM EMP_INFO GROUP BY DEPTNO.

Uploaded by

9y9a
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
0% found this document useful (0 votes)
93 views1 page

Like Predict

JOB SAL COMM DEPTNO SALESMAN MANAGER MANAGER SALESMAN ANALYST CLERK ADMIN 7521. SELECT DEPTNO" DEPARTMENT NO",COUNT(EMPNO)"NO OF EMPLOYEE" FROM EMP_INFO GROUP BY DEPTNO.

Uploaded by

9y9a
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.

EMPNO ENAME

JOB

MGR HIREDATE

SAL

COMM DEPTNO

--------- ---------- --------- --------- --------- --------- --------- --------7499 ALLEN

SALESMAN

7698 20-FEB-81

7698 BLAKE

MANAGER

7839 01-MAY-81

2850

30

7782 CLARK

MANAGER

7839 09-JUN-81

2450

10

7566 JONES

MANAGER

7839 02-APR-81

2975

20

7654 MARTIN

SALESMAN

7788 SCOTT

ANALYST

7369 SMITH

CLERK

7854 SMITH

ADMIN

7521 WARD

SALESMAN

1600

7698 28-SEP-81
7566 09-DEC-82

7902 17-DEC-80
7802 23-JAN-92
7698 22-FEB-81

1250

300

1400

3000

1250

30

20

800
1250

30

20
200
500

11
30

SQL> SELECT DEPTNO" DEPARTMENT NO",COUNT(EMPNO)"NO OF EMPLOYEE" FROM EMP_INFO


GROUP BY DEPTNO;

DEPARTMENT NO NO OF EMPLOYEE
-------------- -------------10

11

20

30

You might also like