SQL Server Error Code – 147 an aggregate may not appear in the where
In this blog post, you’ll learn more about the SQL Server Error Code 147 and the error message description that is shown
SQL Server Error Code
147
SQL Server Error Description for the Code :147
An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a select list, and the column being aggregated is an outer reference.
Leave Your Comment