Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to find the number of employees under each manager

755220Feb 21 2010 — edited Feb 21 2010
hi all,
i am trying to this query
select a.empno,a.empno,a.ename,a1.ename from emp a,emp a1
where a.mgr=a1.empno
this query returns each employee and their manager name
my request is
how to count the number of employees under each manager
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2010
Added on Feb 21 2010
5 comments
7,368 views