This is the select statement that I'm trying to use, and I'm trying to pull the count of all records that start with the phrase Unknown, but I'm getting an incorrect syntax error near the closing parenthesis of the count. How can I use count in this way?
SELECT DISTINCT [ID], COUNT(ID), COUNT([NAME] LIKE 'Unknown%')
FROM table.foo
GROUP BY [ID]
Whereclause.