SQL Statement to get Unique vales and its count
I have data in table as below:
Database is SQL Server TABLE Name: Employee
Emp_ID EMP_name Emp_Grade 101 Siddu B 102 harsha A 103 Patty B 104 Preeti
A 105 Aarna C
Can some one please help me to get out as below?
Emp_Grade Count B 2 A 2 C 1
No comments:
Post a Comment