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!

Query help - To get number of employees joined on each month irrespective of the year

MITEEEApr 20 2014 — edited Apr 21 2014

Hi All,

I have written the below code to get number of employees joined on each month irrespective of the year from the employee table. But i couldnt get the result. Kindly help me as where i am wrong in my coding,

select to_char(hiredate,'mon') as join, count(empno) as Number

from emp

group by to_char(hiredate,'mon')

having count(empno)>1;

This post has been answered by Solomon Yakobson on Apr 20 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2014
Added on Apr 20 2014
3 comments
8,996 views