Error in GROUP BY clause near '<0s>'
There is an error in the syntax of your query. SQL Server Enterprise Manager has attempted to locate the source of the error.
Review your query syntax and correct the error before running your query.
Filtering Rows with WHERE and HAVING | Grouping Rows with GROUP BY |