Home Forums Article Discussions Article Discussions by Author Discuss content posted by Charles Kincaid Using a column name in a COUNT function RE: Using a column name in a COUNT function
djjunio
SSC Journeyman
Points: 83
More actions
October 15, 2013 at 6:43 am
#1658490
hi, I usually have the following scenario: I have to count the distincts names
for this I use:
SELECT COUNT(distinct name) AS [COUNT distinct] FROM [CountTest];