I have a table with total no of 1000 records in it.It has the following structure:
EMP_ID EMP_NAME PHONE_NO ARR_DATE 1 A 545454 2012/03/12 >
SELECT COUNT(*) FROM table_emp WHERE YEAR(ARR_DATE) = '2012' GROUP BY MONTH(ARR_DATE)