Viewing post 1 (of 1 total)
Create a new table and store the alphabets, and by the following query u must get ur output....
select Letter, COUNT(Name)
from #Letters
LEFT JOIN Emp ON SUBSTRING(Name,1,1) = Letter
group by Letter
Regards,
Arunkumar
MCTS -...
July 7, 2011 at 1:49 pm
#1349999