4
Answers

How to get the count of records

Photo of Murali krishna  Ande

Murali krishna Ande

11y
1.7k
1
Hi,
 
My table of records are like below 
 
 EMPID Name Department
 1AAAAA  1
 2BBBBB  2
 3CCCCC 2
 4DDDDD 3
 5EEEEEE 3
 
and I need to show them like below.
 
 DepartmentCount 
 1
 2
 32
 
Can somebody help on this with the query,
 
--Thanks in advance,
Murali krishna 

Answers (4)