How to find the Count of each value in a column in sql


hi,
 
here sample example query.
 
have column in table contains valies this
[column]
as,bs
as,cs
cs,es
de,as
ir,cs,de.
 
need find count of each value , output shuld come
5
bs 3
cs 4 .
 
can me write procedure
 

thanks,
anusha

thanks, anusha



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'